summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/IntrinsicInst.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-26 22:29:24 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-26 22:29:24 +0000
commit0629ba1ad9437ef0d188cbfd03cc57775d372243 (patch)
tree817f89275f498fa52423bde2449b05d78a32167c /llvm/lib/IR/IntrinsicInst.cpp
parent9d7a15c80d77810305a56935ad6444cb89ba859e (diff)
downloadbcm5719-llvm-0629ba1ad9437ef0d188cbfd03cc57775d372243.tar.gz
bcm5719-llvm-0629ba1ad9437ef0d188cbfd03cc57775d372243.zip
[X86][SSE] Float comparisons can sometimes be safely commuted
For ordered, unordered, equal and not-equal tests, packed float and double comparison instructions can be safely commuted without affecting the results. This patch checks the comparison mode of the (v)cmpps + (v)cmppd instructions and commutes the result if it can. Differential Revision: http://reviews.llvm.org/D7178 llvm-svn: 227145
Diffstat (limited to 'llvm/lib/IR/IntrinsicInst.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud