mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 03:31:06 +00:00
Change this from an assert to a cerr+exit, since it's diagnosing an
unsupported inline asm construct, rather than verifying a code invariant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
88cc7c4194
commit
15480bd174
@ -5317,8 +5317,12 @@ void SelectionDAGLowering::visitInlineAsm(CallSite CS) {
|
||||
if ((OpFlag & 7) == 2 /*REGDEF*/
|
||||
|| (OpFlag & 7) == 6 /* EARLYCLOBBER REGDEF */) {
|
||||
// Add (OpFlag&0xffff)>>3 registers to MatchedRegs.
|
||||
assert(!OpInfo.isIndirect &&
|
||||
"Don't know how to handle tied indirect register inputs yet!");
|
||||
if (OpInfo.isIndirect) {
|
||||
cerr << "llvm: error: "
|
||||
"Don't know how to handle tied indirect "
|
||||
"register inputs yet!\n";
|
||||
exit(1);
|
||||
}
|
||||
RegsForValue MatchedRegs;
|
||||
MatchedRegs.TLI = &TLI;
|
||||
MatchedRegs.ValueVTs.push_back(InOperandVal.getValueType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user