[all-commits] [llvm/llvm-project] 9520fc: [InstCombine] add tests for sdiv-of-shl-1; NFC
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Fri Oct 7 10:21:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9520fca46e09742c1249da2b156f340762c84690
https://github.com/llvm/llvm-project/commit/9520fca46e09742c1249da2b156f340762c84690
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll
Log Message:
-----------
[InstCombine] add tests for sdiv-of-shl-1; NFC
Commit: 5e896628b74dcbe285da55278df7399085abdfd8
https://github.com/llvm/llvm-project/commit/5e896628b74dcbe285da55278df7399085abdfd8
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/ashr-lshr.ll
Log Message:
-----------
[InstCombine] add tests for ashr exact; NFC
Commit: 3e6767ed5f6d65300f0a7299a9d87944cb64eeb4
https://github.com/llvm/llvm-project/commit/3e6767ed5f6d65300f0a7299a9d87944cb64eeb4
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/ashr-lshr.ll
M llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll
M llvm/test/Transforms/InstCombine/inselt-binop.ll
Log Message:
-----------
[InstCombine] propagate 'exact' when converting ashr to lshr
The shift amount is not changing, so if we guaranteed
shifting out zeros before, those bits are still zeros.
https://alive2.llvm.org/ce/z/sokQca
Compare: https://github.com/llvm/llvm-project/compare/49acab3f1408...3e6767ed5f6d
More information about the All-commits
mailing list