[PATCH] D34109: [AArch64] Update successor probabilities after ccmp-conversion
Matthew Simpson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 10:32:17 PDT 2017
mssimpso created this revision.
Herald added subscribers: kristof.beyls, javed.absar, rengolin, aemerson.
This patch modifies the conditional compares pass so that it keeps the successor probabilities of the head block up-to-date after the conversion. Previously, the successor probabilities were being normalized to a uniform distribution, even though they may have been heavily biased prior to the conversion (e.g., if one of the edges was the back edge of a loop). This loss of information affected passes later in the pipeline.
https://reviews.llvm.org/D34109
Files:
lib/Target/AArch64/AArch64ConditionalCompares.cpp
test/CodeGen/AArch64/arm64-ccmp.ll
test/CodeGen/AArch64/ccmp-successor-probs.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34109.102199.patch
Type: text/x-patch
Size: 6721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170612/f219ea81/attachment.bin>
More information about the llvm-commits
mailing list