llvm-project/llvm/include
David Majnemer 634ca236dc 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.

llvm-svn: 221069
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