summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2018-04-02 22:25:50 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2018-04-02 22:25:50 +0000
commit13aeee0d36199e0c54c1b045540383d8383b030c (patch)
tree16ffefc1d8f34681c7bd921f4dce61aa974de645 /clang/lib/Basic
parent30b215e8f742a6d2ef155aec9887f49c3e9ad501 (diff)
downloadbcm5719-llvm-13aeee0d36199e0c54c1b045540383d8383b030c.tar.gz
bcm5719-llvm-13aeee0d36199e0c54c1b045540383d8383b030c.zip
CodeGenCXX: support PreserveMostCC in MS ABI
Microsoft has reserved 'U' for the PreserveMostCC which is used in the swift runtime. Add support for this. This allows the swift runtime to be built for Windows again. llvm-svn: 329025
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/Targets/X86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets/X86.h b/clang/lib/Basic/Targets/X86.h
index f8029400e80..91db1dfdf31 100644
--- a/clang/lib/Basic/Targets/X86.h
+++ b/clang/lib/Basic/Targets/X86.h
@@ -287,6 +287,7 @@ public:
case CC_X86VectorCall:
case CC_X86RegCall:
case CC_C:
+ case CC_PreserveMost:
case CC_Swift:
case CC_X86Pascal:
case CC_IntelOclBicc:
OpenPOWER on IntegriCloud