Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I don't see codegen for this, so this looks like depending on an optimization pass for correctness
lib/Target/AMDGPU/AMDGPULibCalls.cpp | ||
---|---|---|
1392–1414 ↗ | (On Diff #204290) | This doesn't really belong in this pass |
test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll | ||
7–8 ↗ | (On Diff #204290) | Capitalized feature name is wrong? Also shouldn't be using opt -O3 |
Comment Actions
It is in the parent patch, inside ISelLowering. Optimization is only to fold it earlier.
lib/Target/AMDGPU/AMDGPULibCalls.cpp | ||
---|---|---|
1392–1414 ↗ | (On Diff #204290) | This might make more sense In AMDGPULowerIntrinsics? |
lib/Target/AMDGPU/AMDGPULibCalls.cpp | ||
---|---|---|
1392–1414 ↗ | (On Diff #204290) | The point is to give folding a chance as early as possible. It also belongs to libcalls because library is the primary user. |