[llvm] [InstCombine] Convert load from LUT into a select (PR #98339)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 20 01:25:05 PDT 2024
dtcxzyw wrote:
> The implementation here is still too type-based. While the GEP offsets are now handled properly, you're still doing type-based analysis on the constant initializer. You should use ConstantFoldLoadFromConst for that instead.
Compile-time impact looks worse: http://llvm-compile-time-tracker.com/compare.php?from=a49066220879b7b24d40c8a65fbe5fd1535240a5&to=de550d309914b8f0bd1d63d5506e0674adf2081c&stat=instructions:u
https://github.com/llvm/llvm-project/pull/98339
More information about the llvm-commits
mailing list