[llvm] 7e48dae - [LLVM] [NFC] remove unnecessary, confusing scope

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 10:10:28 PDT 2022


Author: Florian Mayer
Date: 2022-06-03T10:10:17-07:00
New Revision: 7e48dae5a1805303b0d546e3d060c7096a75d718

URL: https://github.com/llvm/llvm-project/commit/7e48dae5a1805303b0d546e3d060c7096a75d718
DIFF: https://github.com/llvm/llvm-project/commit/7e48dae5a1805303b0d546e3d060c7096a75d718.diff

LOG: [LLVM] [NFC] remove unnecessary, confusing scope

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D126935

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp b/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
index 58e3cfd1d00a..833969d598d8 100644
--- a/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+++ b/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
@@ -1263,7 +1263,7 @@ void AArch64AsmPrinter::emitInstruction(const MachineInstr *MI) {
     break;
 
   case AArch64::DBG_VALUE:
-  case AArch64::DBG_VALUE_LIST: {
+  case AArch64::DBG_VALUE_LIST:
     if (isVerbose() && OutStreamer->hasRawTextSupport()) {
       SmallString<128> TmpStr;
       raw_svector_ostream OS(TmpStr);
@@ -1283,8 +1283,7 @@ void AArch64AsmPrinter::emitInstruction(const MachineInstr *MI) {
 
       OutStreamer->emitCFIBKeyFrame();
       return;
-    }
-    }
+  }
 
   // Tail calls use pseudo instructions so they have the proper code-gen
   // attributes (isCall, isReturn, etc.). We lower them to the real


        


More information about the llvm-commits mailing list