[llvm] 1c81941 - [NFC][RISCV] Fix wrong predicates of vfwredsum

Shao-Ce SUN via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 01:20:07 PST 2021


Author: Shao-Ce SUN
Date: 2021-11-09T17:19:50+08:00
New Revision: 1c81941f192a252da2930a224428734c22c0cda1

URL: https://github.com/llvm/llvm-project/commit/1c81941f192a252da2930a224428734c22c0cda1
DIFF: https://github.com/llvm/llvm-project/commit/1c81941f192a252da2930a224428734c22c0cda1.diff

LOG: [NFC][RISCV] Fix wrong predicates of vfwredsum

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
index e3c8728c98ae..25c277178667 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
@@ -1322,11 +1322,10 @@ let Constraints = "@earlyclobber $vd", RVVConstraint = NoConstraint in {
 defm VFWREDOSUM : VWREDO_FV_V<"vfwredosum", 0b110011>;
 defm VFWREDUSUM : VWRED_FV_V<"vfwredusum", 0b110001>;
 } // Constraints = "@earlyclobber $vd", RVVConstraint = NoConstraint
-} // Predicates = [HasStdExtV, HasStdExtF]
 
 def : InstAlias<"vfwredsum.vs $vd, $vs2, $vs1$vm",
                 (VFWREDUSUM_VS VR:$vd, VR:$vs2, VR:$vs1, VMaskOp:$vm), 0>;
-
+} // Predicates = [HasStdExtV, HasStdExtF]
 
 let Predicates = [HasStdExtV] in {
 // Vector Mask-Register Logical Instructions


        


More information about the llvm-commits mailing list