[CodeGen]: Fix bad interaction with AntiDep breaking and inline asm.
authorKyle Butt <kyle+llvm@iteratee.net>
Wed, 2 Dec 2015 18:58:51 +0000 (18:58 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Wed, 2 Dec 2015 18:58:51 +0000 (18:58 +0000)
commit325a79d6e98b9192276abe7421ba491fae199446
treeecc8d361eef454e03b533b8afd8699d95b2edc21
parentb8f6117b7f770fb8c91507d25e448b288609f84e
[CodeGen]: Fix bad interaction with AntiDep breaking and inline asm.

AggressiveAntiDepBreaker was renaming registers specified by the user
for inline assembly. While this will work for compiler-specified
registers, it won't work for user-specified registers, and at the time
this runs, I don't currently see a way to distinguish them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254532 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AggressiveAntiDepBreaker.cpp
test/CodeGen/PowerPC/aantidep-inline-asm-use.ll [new file with mode: 0644]