summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-03-27 00:00:03 +0000
committerReid Kleckner <reid@kleckner.net>2014-03-27 00:00:03 +0000
commitca240502a521ec9cce83498a892be5e4a97b773f (patch)
tree1f123a3100de695879e074c9932c4cc94919bf29 /lib/CodeGen/CodeGenFunction.cpp
parent55b2d89ef0e286fa369cd6af5e6c64d8e8d58b87 (diff)
downloadclang-ca240502a521ec9cce83498a892be5e4a97b773f.tar.gz
clang-ca240502a521ec9cce83498a892be5e4a97b773f.tar.bz2
clang-ca240502a521ec9cce83498a892be5e4a97b773f.tar.xz
MS asm: Filter out fpsw clobbers
When parsing MS inline assembly, we note that fpsw is an implicit def of most x87 FP operations, and add it to the clobber list. However, we don't recognize fpsw as a gcc register name, and we assert. Clang always adds an fpsr clobber, which means the same thing to LLVM, so we can just use that. This test case was broken by my LLVM change r196939. Reviewers: echristo Differential Revision: http://llvm-reviews.chandlerc.com/D2993 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions