[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)
commitcf6a8bfe51de71b8c0b6c25fd6622e10f0103faf
tree1375ce77a6b89030bc7cc7c9247a0432aeb15a1d
parent015f4fc854082f47925e259413609c58ec9d4629
[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.

llvm-svn: 254532
llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
llvm/test/CodeGen/PowerPC/aantidep-inline-asm-use.ll [new file with mode: 0644]