Skip to content

Commit bc45e31

Browse files
committed
Fix vscale support
Add CodeGen testcase
1 parent 11ff25e commit bc45e31

File tree

2 files changed

+1092
-0
lines changed

2 files changed

+1092
-0
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,8 @@ foreach vti = AllFloatVectors in {
13371337
// 13.11. Vector Floating-Point MIN/MAX Instructions
13381338
defm : VPatBinaryFPSDNode_VV_VF<fminnum, "PseudoVFMIN", isSEWAware=1>;
13391339
defm : VPatBinaryFPSDNode_VV_VF<fmaxnum, "PseudoVFMAX", isSEWAware=1>;
1340+
defm : VPatBinaryFPSDNode_VV_VF<fminimumnum, "PseudoVFMIN", isSEWAware=1>;
1341+
defm : VPatBinaryFPSDNode_VV_VF<fmaximumnum, "PseudoVFMAX", isSEWAware=1>;
13401342

13411343
// 13.13. Vector Floating-Point Compare Instructions
13421344
defm : VPatFPSetCCSDNode_VV_VF_FV<SETEQ, "PseudoVMFEQ", "PseudoVMFEQ">;

0 commit comments

Comments
 (0)