diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-08-15 17:36:30 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-08-15 17:36:30 +0000 |
commit | 5b1dbec1b4eda05de01b0c1702eabbe1a025bb8a (patch) | |
tree | 323a95819c1b94ad366abc983c75dc0e70424f04 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 2e7cc48baafda643af0a363da0a31f29cd4b0487 (diff) | |
download | bcm5719-llvm-5b1dbec1b4eda05de01b0c1702eabbe1a025bb8a.tar.gz bcm5719-llvm-5b1dbec1b4eda05de01b0c1702eabbe1a025bb8a.zip |
[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.
llvm-svn: 215735
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 1c2cee29a79..6be5f8a57e2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -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, |