Details
Details
Diff Detail
Diff Detail
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 | This doesn't really belong in this pass | |
| test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll | ||
| 8–9 | 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 | This might make more sense In AMDGPULowerIntrinsics? | |
| lib/Target/AMDGPU/AMDGPULibCalls.cpp | ||
|---|---|---|
| 1392–1414 | The point is to give folding a chance as early as possible. It also belongs to libcalls because library is the primary user. | |
This doesn't really belong in this pass