[llvm] [GlobalIsel] Combine select of binops (PR #76763)
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 21:39:55 PST 2024
================
@@ -544,3 +544,77 @@ body: |
%ext:_(s32) = G_ANYEXT %sel
$w0 = COPY %ext(s32)
...
+---
+# select cond, and(x, y), and(z, y) --> and (select, x, z), y
----------------
aemerson wrote:
nit: comment missing `cond` on RHS: ` --> and (select cond, x, z), y`
https://github.com/llvm/llvm-project/pull/76763
More information about the llvm-commits
mailing list