aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-01 23:46:05 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-01 23:46:05 +0000
commit634ca236dcac149af695b047c5c3f2a7af7391bd (patch)
tree2a71cd30e3270a555f26c546cc98f491932c3119 /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parenteed309da88417bc5f07d49f1b2b6e6b8186f8142 (diff)
downloadllvm-634ca236dcac149af695b047c5c3f2a7af7391bd.zip
llvm-634ca236dcac149af695b047c5c3f2a7af7391bd.tar.gz
llvm-634ca236dcac149af695b047c5c3f2a7af7391bd.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
0 files changed, 0 insertions, 0 deletions