summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-07-14 09:46:06 +0000
committerDiana Picus <diana.picus@linaro.org>2017-07-14 09:46:06 +0000
commit87a70679831b185cc21f9c9dca07d98ac95b1207 (patch)
tree18e7b76af14d45e909573d86d998b7957d501ee7 /polly/lib/CodeGen/CodeGeneration.cpp
parent90f981bc5bbe053e3ef4d25f463f5eff0cbe6daf (diff)
downloadbcm5719-llvm-87a70679831b185cc21f9c9dca07d98ac95b1207.tar.gz
bcm5719-llvm-87a70679831b185cc21f9c9dca07d98ac95b1207.zip
[ARM] GlobalISel: Support G_BRCOND
Insert a TSTri to set the flags and a Bcc to branch based on their values. This is a bit inefficient in the (common) cases where the condition for the branch comes from a compare right before the branch, since we set the flags both as part of the compare lowering and as part of the branch lowering. We're going to live with that until we settle on a principled way to handle this kind of situation, which occurs with other patterns as well (combines might be the way forward here). llvm-svn: 308009
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud