Actually fix PPC64 64-bit GPR inline asm constraint matching
authorHal Finkel <hfinkel@anl.gov>
Wed, 14 Aug 2013 20:05:04 +0000 (20:05 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 14 Aug 2013 20:05:04 +0000 (20:05 +0000)
commit341c1a50adeadd848b2e73e9184d81331ee1cb92
tree7ef87c37606aa4bd9da6beb46b20c9da9bc421f9
parentfdb1a6c341c0e289f3f900cdab87f831262c0e93
Actually fix PPC64 64-bit GPR inline asm constraint matching

This is a follow-up to r187693, correcting that code to request the correct
register class. The previous version, with the wrong register class, was not
really correcting the constraints, but rather was removing them. Coincidentally,
this fixed the failing test case in r187693, but obviously created other
problems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188407 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/inlineasm-i64-reg.ll