diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-03-27 00:00:03 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-03-27 00:00:03 +0000 |
commit | 185940a765d000eae24d381567b1f7a24ae6a44a (patch) | |
tree | 9522a67b6dc2b11dc120dc3769d089a51aa009c4 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | 6ff4f89af321ebbe18f519b9e211ad045bdc0d82 (diff) | |
download | llvm-185940a765d000eae24d381567b1f7a24ae6a44a.zip llvm-185940a765d000eae24d381567b1f7a24ae6a44a.tar.gz llvm-185940a765d000eae24d381567b1f7a24ae6a44a.tar.bz2 |
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
llvm-svn: 204878
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions