Skip to content

Commit 79a6a7e

Browse files
[RISCV] Fix a warning
This patch fixes: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:19848:11: error: enumeration value 'SW_GUARDED_BRIND' not handled in switch [-Werror,-Wswitch]
1 parent fcd020d commit 79a6a7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20067,6 +20067,7 @@ const char *RISCVTargetLowering::getTargetNodeName(unsigned Opcode) const {
2006720067
NODE_NAME_CASE(SWAP_CSR)
2006820068
NODE_NAME_CASE(CZERO_EQZ)
2006920069
NODE_NAME_CASE(CZERO_NEZ)
20070+
NODE_NAME_CASE(SW_GUARDED_BRIND)
2007020071
NODE_NAME_CASE(SF_VC_XV_SE)
2007120072
NODE_NAME_CASE(SF_VC_IV_SE)
2007220073
NODE_NAME_CASE(SF_VC_VV_SE)

0 commit comments

Comments
 (0)