Prevents generation of unnecessary s_or_b32 instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
As a follow up could we update all calls to getBaseWithConstantOffset to pass in a non-null KnownBits?
llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp | ||
---|---|---|
48 | Test KnownBits first because it's cheapest. | |
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
1990–1991 | Nice catch! | |
llvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll | ||
138 | Please precommit this new test. |
Test KnownBits first because it's cheapest.