mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 20:04:03 +00:00
make this fail even in non-assert builds.
llvm-svn: 35025
This commit is contained in:
parent
66843dbef9
commit
7e516796f6
@ -2883,8 +2883,10 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
|
||||
// Memory input.
|
||||
|
||||
// Check that the operand isn't a float.
|
||||
if (!MVT::isInteger(InOperandVal.getValueType()))
|
||||
assert(0 && "MATCH FAIL!");
|
||||
if (!MVT::isInteger(InOperandVal.getValueType())) {
|
||||
cerr << "Match failed, can't handle floats yet!\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Extend/truncate to the right pointer type if needed.
|
||||
MVT::ValueType PtrType = TLI.getPointerTy();
|
||||
|
Loading…
Reference in New Issue
Block a user