llvm/include
David Majnemer ed297abb0a InstCombine: Don't assume that m_ZExt matches an Instruction
m_ZExt might bind against a ConstantExpr instead of an Instruction.
Assuming this, using cast<Instruction>, results in InstCombine crashing.

Instead, introduce ZExtOperator to bridge both Instruction and
ConstantExpr ZExts.

This fixes PR21445.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221069 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-01 23:46:05 +00:00
..
llvm InstCombine: Don't assume that m_ZExt matches an Instruction 2014-11-01 23:46:05 +00:00
llvm-c [C API] PR19859: Add functions to query and modify branches. 2014-10-28 19:46:56 +00:00