mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Add an assert to turn a segfault on an unsupported inline
asm construct into an assertion failure. llvm-svn: 71757
This commit is contained in:
parent
329994e9d4
commit
3ae08059b5
@ -5325,6 +5325,8 @@ 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!");
|
||||
RegsForValue MatchedRegs;
|
||||
MatchedRegs.TLI = &TLI;
|
||||
MatchedRegs.ValueVTs.push_back(InOperandVal.getValueType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user