Author: Craig Topper Date: 2025-10-01T16:07:26-07:00 New Revision: 9ba1121e3c200bd7935ced3f33d161a0f488609b
URL: https://github.com/llvm/llvm-project/commit/9ba1121e3c200bd7935ced3f33d161a0f488609b DIFF: https://github.com/llvm/llvm-project/commit/9ba1121e3c200bd7935ced3f33d161a0f488609b.diff LOG: [RISCV] Remove break after return in RISCVVEmitter.cpp. NFC (#161599) Added: Modified: clang/utils/TableGen/RISCVVEmitter.cpp Removed: ################################################################################ diff --git a/clang/utils/TableGen/RISCVVEmitter.cpp b/clang/utils/TableGen/RISCVVEmitter.cpp index f73b0aecc3b6d..74f29ac43ac40 100644 --- a/clang/utils/TableGen/RISCVVEmitter.cpp +++ b/clang/utils/TableGen/RISCVVEmitter.cpp @@ -133,28 +133,20 @@ static BasicType ParseBasicType(char c) { switch (c) { case 'c': return BasicType::Int8; - break; case 's': return BasicType::Int16; - break; case 'i': return BasicType::Int32; - break; case 'l': return BasicType::Int64; - break; case 'x': return BasicType::Float16; - break; case 'f': return BasicType::Float32; - break; case 'd': return BasicType::Float64; - break; case 'y': return BasicType::BFloat16; - break; default: return BasicType::Unknown; } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
