[all-commits] [llvm/llvm-project] 141892: [InstCombine] add tests for low-mask of ashr; NFC
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Mon Apr 11 08:57:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 141892d481fcf446c9bf1ae5fb600d797295debc
https://github.com/llvm/llvm-project/commit/141892d481fcf446c9bf1ae5fb600d797295debc
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-04-11 (Mon, 11 Apr 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/and.ll
Log Message:
-----------
[InstCombine] add tests for low-mask of ashr; NFC
Commit: 7783db55afefd3b0d83f4d1b727b6aaa2c2286d6
https://github.com/llvm/llvm-project/commit/7783db55afefd3b0d83f4d1b727b6aaa2c2286d6
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-04-11 (Mon, 11 Apr 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/and.ll
Log Message:
-----------
[InstCombine] try to fold low-mask of ashr to lshr
With one-use, we handle this via demanded-bits.
But We need to handle extra uses to improve issue #54750.
https://alive2.llvm.org/ce/z/aDYkPv
Compare: https://github.com/llvm/llvm-project/compare/1ddc719680c2...7783db55afef
More information about the All-commits
mailing list