[llvm] [InstCombine] Use the select condition to try to constant fold binops into select (PR #84696)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 02:53:15 PDT 2024
================
@@ -360,7 +356,7 @@ define <2 x half> @fmul_sel_op1(i1 %b, <2 x half> %p) {
; CHECK-LABEL: @fmul_sel_op1(
; CHECK-NEXT: ret <2 x half> zeroinitializer
;
- %x = fadd <2 x half> %p, <half 1.0, half 2.0> ; thwart complexity-based canonicalization
+ %x = fadd <2 x half> %p, <half 1.0, half 2.0> ; thwart complexity-based canonicalization
----------------
RKSimon wrote:
unnecessary whitespace diff?
https://github.com/llvm/llvm-project/pull/84696
More information about the llvm-commits
mailing list