aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-08 02:02:39 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-08 02:02:39 +0000
commit984161af16fb4540ac4d8ed277ac669d137f7e68 (patch)
treea604a0d5188b375b0706d8535f80477ca9a78ff9 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent6816affaa4fdbaa16ad9167ac87e6071c80b75a6 (diff)
downloadllvm-984161af16fb4540ac4d8ed277ac669d137f7e68.zip
llvm-984161af16fb4540ac4d8ed277ac669d137f7e68.tar.gz
llvm-984161af16fb4540ac4d8ed277ac669d137f7e68.tar.bz2
Simplify from my last change. Assert1 is a macro that makes its caller return,
so "Assert1(isa<>); cast<>" is a valid idiom. Actually check the PHI node's odd-numbered operands for BasicBlock-ness, like the comment said. llvm-svn: 81182
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions