[clang] [SVE][InstCombine] Delete redundante sel instructions with ptrue (PR #68463)

David Sherwood via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 01:56:50 PDT 2023


================
@@ -63,6 +63,20 @@ svint32_t test_svsel_s32(svbool_t pg, svint32_t op1, svint32_t op2)
   return SVE_ACLE_FUNC(svsel,_s32,,)(pg, op1, op2);
 }
 
+// CHECK-LABEL: @test_svsel_s32_ptrue(
----------------
david-arm wrote:

I'm not sure if this test really adds any more value, since the other test in Transforms/InstCombine/AArch64/sve-intrinsic-sel.ll is also testing the InstCombine.

https://github.com/llvm/llvm-project/pull/68463


More information about the cfe-commits mailing list