summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-21 05:43:13 +0000
committerChris Lattner <sabre@nondot.org>2005-04-21 05:43:13 +0000
commit374e659466a45a6171c7f3d7b273b3bef8b1813b (patch)
tree7c2d18ca177dae1f9a00ef9d08e47342a6a52476 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentb38b443b15f6c97371e3596b91444b1b09ebeb37 (diff)
downloadbcm5719-llvm-374e659466a45a6171c7f3d7b273b3bef8b1813b.tar.gz
bcm5719-llvm-374e659466a45a6171c7f3d7b273b3bef8b1813b.zip
Instcombine this:
%shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] into this: %shortcirc_val = or bool %tmp.1, %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] not this: %tmp.4.cast = cast bool %tmp.4 to int ; <int> [#uses=1] %tmp.6 = select bool %tmp.1, int 1, int %tmp.4.cast ; <int> [#uses=1] llvm-svn: 21389
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud