[llvm] [InstCombine] Convert load from LUT into a select (PR #98339)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 12:27:39 PDT 2024
https://github.com/nikic commented:
The implementation here is still too type-based. While the GEP offsets are not handled properly, you're still doing type-based analysis on the constant initializer. You should use ConstantFoldLoadFromConst for that instead.
https://github.com/llvm/llvm-project/pull/98339
More information about the llvm-commits
mailing list