[llvm] [RISCV][VLOPT] Add vfsqrt/vfrsqrt7 instruction to isSupportInstr (PR #127462)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 02:34:18 PST 2025
================
@@ -141,6 +141,46 @@ body: |
%y:vr = PseudoVADD_VV_M1 $noreg, %x, $noreg, 1, 4 /* e16 */, 0
...
---
+name: vfsqrt
+body: |
+ bb.0:
+ ; CHECK-LABEL: name: vfsqrt
+ ; CHECK: %x:vrm2 = nofpexcept PseudoVFSQRT_V_M2_E32 $noreg, $noreg, 7, 6, 5 /* e32 */, 3 /* ta, ma */, implicit $frm
+ ; CHECK-NEXT: early-clobber %y:vr = nofpexcept PseudoVFNCVTBF16_F_F_W_M1_E16 $noreg, %x, 7, 6, 4 /* e16 */, 3 /* ta, ma */, implicit $frm
+ %x:vrm2 = nofpexcept PseudoVFSQRT_V_M2_E32 $noreg, $noreg, 7, 8, 5, 3, implicit $frm
----------------
lukel97 wrote:
Are the names of these tests swapped? I.e. this test has nofpexcept but the bottom one doesn't
https://github.com/llvm/llvm-project/pull/127462
More information about the llvm-commits
mailing list