[all-commits] [llvm/llvm-project] aa88df: [InstCombine] Add tests for folding `@llvm.ptrmask...
goldsteinn via All-commits
all-commits at lists.llvm.org
Thu Jul 27 15:43:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aa88df8521e3d0f258b2aac2f3e74a7ddf561dc6
https://github.com/llvm/llvm-project/commit/aa88df8521e3d0f258b2aac2f3e74a7ddf561dc6
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
A llvm/test/Transforms/InstCombine/consecutive-ptrmask.ll
Log Message:
-----------
[InstCombine] Add tests for folding `@llvm.ptrmask` with itself; NFC
Differential Revision: https://reviews.llvm.org/D154005
Commit: edf2e0e075e8562ca6a57a3614fbb2b65077e375
https://github.com/llvm/llvm-project/commit/edf2e0e075e8562ca6a57a3614fbb2b65077e375
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/consecutive-ptrmask.ll
Log Message:
-----------
[InstCombine] Folding `@llvm.ptrmask` with itself
`@llvm.ptrmask` is basically just `and` with a `ptr` operand. This is
a trivial combine to do with `and` (many others could also be added).
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D154006
Compare: https://github.com/llvm/llvm-project/compare/7b2745b424be...edf2e0e075e8
More information about the All-commits
mailing list