summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/code-align.ll
diff options
context:
space:
mode:
authorZi Xuan Wu <wuzish@cn.ibm.com>2019-04-30 03:01:14 +0000
committerZi Xuan Wu <wuzish@cn.ibm.com>2019-04-30 03:01:14 +0000
commit49d60fdc2e8e0fd7d1e33e84322fbe2c674e4f1e (patch)
tree6361b73d85430f054bac49c12495cb85b8546f17 /llvm/test/CodeGen/PowerPC/code-align.ll
parentab7747b727d79c9cc67b0ffb75528bf9bb67d9e8 (diff)
downloadbcm5719-llvm-49d60fdc2e8e0fd7d1e33e84322fbe2c674e4f1e.tar.gz
bcm5719-llvm-49d60fdc2e8e0fd7d1e33e84322fbe2c674e4f1e.zip
[DAGCombiner] Do not generate ISD::ADDE node if adde is not legal for the target when combine ISD::TRUNC node
Do not combine (trunc adde(X, Y, Carry)) into (adde trunc(X), trunc(Y), Carry), if adde is not legal for the target. Even it's at type-legalize phase. Because adde is special and will not be legalized at operation-legalize phase later. This fixes: PR40922 https://bugs.llvm.org/show_bug.cgi?id=40922 Differential Revision: https://reviews.llvm.org//D60854 llvm-svn: 359532
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/code-align.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud