aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-10-26 09:01:51 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-10-26 09:01:51 +0000
commitb72b1fb0de0b07e7cf896109a0506256153b9dd1 (patch)
tree8242564bd0eaefe65085449c21215f4efe70a157 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parente3962aebca1e2b7e402c97e54a253738fe6a95d3 (diff)
downloadllvm-b72b1fb0de0b07e7cf896109a0506256153b9dd1.zip
llvm-b72b1fb0de0b07e7cf896109a0506256153b9dd1.tar.gz
llvm-b72b1fb0de0b07e7cf896109a0506256153b9dd1.tar.bz2
[PowerPC] Use record-form instruction for Less-or-Equal -1 and Greater-or-Equal 1
Currently a record-form instruction is used for comparison of "greater than -1" and "less than 1" by modifying the predicate (e.g. LT 1 into LE 0) in addition to the naive case of comparison against 0. This patch also enables emitting a record-form instruction for "less than or equal to -1" (i.e. "less than 0") and "greater than or equal to 1" (i.e. "greater than 0") to increase the optimization opportunities. Differential Revision: https://reviews.llvm.org/D38941 llvm-svn: 316647
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions