This pass is required to get correct codegen for image instructions with
the tfe or lwe bits set.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think it would make more sense to do this during instruction selection, rather than in a separate pass, but for now it seems easiest to just copy what selectiondag does and run the pass.
Comment Actions
This LGTM - but I agree with your comment that this should probably not be a separate pass.
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
1112 | Add FIXME to move the functionality into instruction selection? |
Add FIXME to move the functionality into instruction selection?