mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
[FastISel] Remove an performance debugging assert.
As Jim pointed out this assert isn't really needed to test for correctness, because the code right afterwards does the same check and falls-back to SelectionDAG - as intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5bc44c7603
commit
f92cdd62c0
@ -1693,7 +1693,6 @@ unsigned FastISel::FastEmit_ri_(MVT VT, unsigned Opcode,
|
||||
IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(),
|
||||
VT.getSizeInBits());
|
||||
MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm));
|
||||
assert (MaterialReg != 0 && "Unable to materialize imm.");
|
||||
if (MaterialReg == 0) return 0;
|
||||
}
|
||||
return FastEmit_rr(VT, VT, Opcode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user