[all-commits] [llvm/llvm-project] 3cde55: [InstCombine] add tests for signbit splat mask; NFC
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Sat Aug 27 08:57:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3cde55d8071d03a2de26fe2c962a92a7b256db8c
https://github.com/llvm/llvm-project/commit/3cde55d8071d03a2de26fe2c962a92a7b256db8c
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/and.ll
Log Message:
-----------
[InstCombine] add tests for signbit splat mask; NFC
issue #57381
Commit: 7abf233f44b959520ed09e56638e89898810f25e
https://github.com/llvm/llvm-project/commit/7abf233f44b959520ed09e56638e89898810f25e
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll
Log Message:
-----------
[InstCombine] allow poison (undef) element in vector signbit transforms
If the shift constant has undefined lanes, we can assume those
are the same as the defined lanes in these transforms:
https://alive2.llvm.org/ce/z/t6TTJ2
Replace undef with poison in the test while here to support
the transition away from undef.
Compare: https://github.com/llvm/llvm-project/compare/b9c2b6069ea7...7abf233f44b9
More information about the All-commits
mailing list