Skip to content

Commit eaa5fd5

Browse files
code style
1 parent bbec612 commit eaa5fd5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2912,9 +2912,8 @@ void AsmPrinter::emitJumpTableImpl(const MachineJumpTableInfo &MJTI,
29122912

29132913
// Jump tables in code sections are marked with a data_region directive
29142914
// where that's supported.
2915-
if (!JTInDiffSection) {
2915+
if (!JTInDiffSection)
29162916
OutStreamer->emitDataRegion(MCDR_DataRegionJT32);
2917-
}
29182917

29192918
for (const unsigned JumpTableIndex : JumpTableIndices) {
29202919
ArrayRef<MachineBasicBlock *> JTBBs = JT[JumpTableIndex].MBBs;

llvm/test/CodeGen/AArch64/jump-table-partition.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
; FUNCLESS: .section .rodata.hot.,"a",@progbits
4343
; JT: .LJTI0_0:
4444
; JT: .LJTI0_2:
45-
; NUM: .section .rodata.hot.,"a",@progbits,unique,3
45+
; NUM: .section .rodata.hot.,"a",@progbits,unique,3
4646
; FUNC-NOT: .section .rodata.hot.foo
4747
; FUNCLESS-NOT: .section .rodata.hot.,"a",@progbits
4848
; JT: .LJTI0_1:

0 commit comments

Comments
 (0)