[all-commits] [llvm/llvm-project] a47e03: [InstCombine] add tests for min/max with shuffled ...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Tue May 3 13:23:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a47e03685bf3984ae3d9965a7cf9d6bb25f20928
https://github.com/llvm/llvm-project/commit/a47e03685bf3984ae3d9965a7cf9d6bb25f20928
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-05-03 (Tue, 03 May 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
Log Message:
-----------
[InstCombine] add tests for min/max with shuffled operands; NFC
Issue #46238
Commit: 432c199e84730e4bb0aec964aa1d13f0226455ac
https://github.com/llvm/llvm-project/commit/432c199e84730e4bb0aec964aa1d13f0226455ac
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-05-03 (Tue, 03 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
Log Message:
-----------
[InstCombine] move shuffle after min/max with same-shuffled operands
This is an intrinsic version of the existing fold for binops.
As a first step, I only allowed min/max, but the code is set
up to make adding more intrinsics easy (with more or less than
2 arguments).
This (and possible follow-ups) are discussed in issue #46238.
Compare: https://github.com/llvm/llvm-project/compare/37471cf2c3fd...432c199e8473
More information about the All-commits
mailing list