[all-commits] [llvm/llvm-project] d84dc8: [InstCombine] Add handling for (or (zext x), (shl ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Mar 9 03:34:51 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d84dc8ff93e94f6f0b5a5222afc26e0ee3a4b4f9
https://github.com/llvm/llvm-project/commit/d84dc8ff93e94f6f0b5a5222afc26e0ee3a4b4f9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-03-09 (Sun, 09 Mar 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/iX-ext-split.ll
Log Message:
-----------
[InstCombine] Add handling for (or (zext x), (shl (zext (ashr x, bw/2-1))), bw/2) -> (sext x) fold (#130316)
Minor tweak to #129363 which handled all the cases where there was a sext for the original source value, but not for cases where the source is already half the size of the destination type
Another regression noticed in #76524
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