Skip to content

Commit f8e35c7

Browse files
committed
[llvm] Allow Fast and Tail CC in UEFI
Allow tail call and fastcc optimizations for UEFI X86_64 targets.
1 parent 123758b commit f8e35c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86Subtarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ class X86Subtarget final : public X86GenSubtargetInfo {
352352
switch (CC) {
353353
// On Win64, all these conventions just use the default convention.
354354
case CallingConv::C:
355-
return isTargetWin64() || isTargetUEFI64();
356355
case CallingConv::Fast:
357356
case CallingConv::Tail:
357+
return isTargetWin64() || isTargetUEFI64();
358358
case CallingConv::Swift:
359359
case CallingConv::SwiftTail:
360360
case CallingConv::X86_FastCall:

0 commit comments

Comments
 (0)