diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 05:15:46 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 05:15:46 +0000 |
commit | d29fc6655f01439817894e7ff768e0ebb1beb853 (patch) | |
tree | 3eb5302ab6ef4e74c4edeb280d551ef669f4defc /clang/lib/Frontend/PCHWriterStmt.cpp | |
parent | dcf60b6b3ebcbabfd4b35d21b1df0402fe11715f (diff) | |
download | bcm5719-llvm-d29fc6655f01439817894e7ff768e0ebb1beb853.tar.gz bcm5719-llvm-d29fc6655f01439817894e7ff768e0ebb1beb853.zip |
If there is a def of a super-register followed by a use of a sub-register, do *not* add an implicit def of the sub-register. e.g.
EAX = ..., AX<imp-def>
...
= AX
This creates a double-def. Apparently this used to be necessary but is no longer needed.
Thanks to Anton for pointing this out. Anton, I cannot create a test case without your uncommitted ARM patches. Please check in a test case for me.
llvm-svn: 72755
Diffstat (limited to 'clang/lib/Frontend/PCHWriterStmt.cpp')
0 files changed, 0 insertions, 0 deletions