diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-05-10 20:49:46 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-05-10 20:49:46 +0000 |
commit | 220f7da488900708e314993f1a5fbb3a2563b605 (patch) | |
tree | 4fa57e462b3f84d20051060399a3972dd2ece566 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 6786bc5390161ce470882d62327ef8ef7cd36f92 (diff) | |
download | llvm-220f7da488900708e314993f1a5fbb3a2563b605.zip llvm-220f7da488900708e314993f1a5fbb3a2563b605.tar.gz llvm-220f7da488900708e314993f1a5fbb3a2563b605.tar.bz2 |
[X86] Properly check that EAX is dead when copying EFLAGS.
This fixes a bug introduced in r267623, where we got smarter and avoided to save
EAX before using it. However, we failed to check if any of the subregister of
EAX were alive and thus, missed cases where we have to save EAX before using it.
The problem may happen on every X86/i386/... platform.
This fixes llvm.org/PR27624
llvm-svn: 269115
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions