Fix a crasher newly introduced in r176659/r176649, where fast-isel tries to
authorNick Lewycky <nicholas@mxc.ca>
Mon, 11 Mar 2013 21:44:37 +0000 (21:44 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 11 Mar 2013 21:44:37 +0000 (21:44 +0000)
commit33cdfe9f1943418604be5c800800394ae809fc4c
treed9ece7ae1740bbdd3ed0f9bc424bf083192b1646
parent12dccaed9c0368f4f5ef4312c32b375c725c9daf
Fix a crasher newly introduced in r176659/r176649, where fast-isel tries to
lower an expect intrinsic that is a constant expression.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176830 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
test/CodeGen/X86/fast-isel-expect.ll [new file with mode: 0644]