[llvm] 2125080 - [RISCV][NFC] Undef CASE_RVV_OPCODE* macros after using

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 03:01:53 PDT 2024


Author: Wang Pengcheng
Date: 2024-04-25T17:56:26+08:00
New Revision: 2125080fd5e12d54b745e36db6b68ec8a1377c33

URL: https://github.com/llvm/llvm-project/commit/2125080fd5e12d54b745e36db6b68ec8a1377c33
DIFF: https://github.com/llvm/llvm-project/commit/2125080fd5e12d54b745e36db6b68ec8a1377c33.diff

LOG: [RISCV][NFC] Undef CASE_RVV_OPCODE* macros after using

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index dac47d6f4154f3..5c1f154efa9911 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -3152,6 +3152,16 @@ MachineInstr *RISCVInstrInfo::commuteInstructionImpl(MachineInstr &MI,
   return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2);
 }
 
+#undef CASE_RVV_OPCODE_UNMASK_LMUL
+#undef CASE_RVV_OPCODE_MASK_LMUL
+#undef CASE_RVV_OPCODE_LMUL
+#undef CASE_RVV_OPCODE_UNMASK_WIDEN
+#undef CASE_RVV_OPCODE_UNMASK
+#undef CASE_RVV_OPCODE_MASK_WIDEN
+#undef CASE_RVV_OPCODE_MASK
+#undef CASE_RVV_OPCODE_WIDEN
+#undef CASE_RVV_OPCODE
+
 #undef CASE_VMA_OPCODE_COMMON
 #undef CASE_VMA_OPCODE_LMULS_M1
 #undef CASE_VMA_OPCODE_LMULS_MF2


        


More information about the llvm-commits mailing list