mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
mips32 long long register inline asm constraint support.
inlineasm-cnstrnt-bad-r-1.ll is NOT supposed to fail, so it was removed. This resulted in the removal of a negative test (inlineasm-cnstrnt-bad-r-1.ll) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -3355,6 +3355,8 @@ getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const
|
||||
case 'r':
|
||||
if (VT == MVT::i32 || VT == MVT::i16 || VT == MVT::i8)
|
||||
return std::make_pair(0U, &Mips::CPURegsRegClass);
|
||||
if (VT == MVT::i64 && !HasMips64)
|
||||
return std::make_pair(0U, &Mips::CPURegsRegClass);
|
||||
if (VT == MVT::i64 && HasMips64)
|
||||
return std::make_pair(0U, &Mips::CPU64RegsRegClass);
|
||||
// This will generate an error message
|
||||
|
Reference in New Issue
Block a user