[PATCH] D34808: [PowerPC] Fix for PR33636
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 03:22:02 PDT 2017
nemanjai created this revision.
When folding to a constant, it is possible to get an `undef`. Casting such a node to a `ConstSDNode` does not work. This patch just avoids such a cast to prevent a crash.
Repository:
rL LLVM
https://reviews.llvm.org/D34808
Files:
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/PR33636.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34808.104616.patch
Type: text/x-patch
Size: 23834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/db0a950f/attachment.bin>
More information about the llvm-commits
mailing list