Skip to content

Commit 49b6c74

Browse files
authored
[NFC][llvm] Remove duplicate isUEFI check (#136593)
In `X86MCTargetDesc.cpp` while fixing the handling of UEFI target in the `createX86MCAsmInfo` function (#132461), the previous incorrect handling of isUEFI was not removed. This patch cleans up that case.
1 parent 2c2ba7e commit 49b6c74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,6 @@ static MCAsmInfo *createX86MCAsmInfo(const MCRegisterInfo &MRI,
452452
} else if (TheTriple.isOSCygMing() ||
453453
TheTriple.isWindowsItaniumEnvironment()) {
454454
MAI = new X86MCAsmInfoGNUCOFF(TheTriple);
455-
} else if (TheTriple.isUEFI()) {
456-
MAI = new X86MCAsmInfoGNUCOFF(TheTriple);
457455
} else {
458456
// The default is ELF.
459457
MAI = new X86ELFMCAsmInfo(TheTriple);

0 commit comments

Comments
 (0)