[all-commits] [llvm/llvm-project] 8f968f: [AggressiveInstCombine] Make cttz fold more resili...
David Green via All-commits
all-commits at lists.llvm.org
Thu Jul 31 08:54:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f968fe3ec3ce0d2a77d4ebffb4f5a92f66d0516
https://github.com/llvm/llvm-project/commit/8f968fe3ec3ce0d2a77d4ebffb4f5a92f66d0516
Author: David Green <david.green at arm.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
M llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
M llvm/test/Transforms/PhaseOrdering/lower-table-based-cttz.ll
Log Message:
-----------
[AggressiveInstCombine] Make cttz fold more resiliant to non-array geps (#150896)
Similar to #150639 this fixes the AggressiveInstCombine fold for convert
tables to cttz instructions if the gep types are not array types. i.e
`gep i16 @glob, i64 %idx` instead of `gep [64 x i16] @glob, i64 0, i64 %idx`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list