diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-08-19 13:06:16 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-08-19 13:06:16 +0000 |
commit | d60cb11afd709b9f84c58d8335cbc08ad912b236 (patch) | |
tree | 8308b69511649b732cda459b7aa7d3dc0e9f2314 /test/MC/ARM/dot-req.s | |
parent | 51bfb0fe50405bfbb14abf8ceb6ea8d0f67d7057 (diff) | |
download | external_llvm-d60cb11afd709b9f84c58d8335cbc08ad912b236.zip external_llvm-d60cb11afd709b9f84c58d8335cbc08ad912b236.tar.gz external_llvm-d60cb11afd709b9f84c58d8335cbc08ad912b236.tar.bz2 |
When unsafe math is used, we can use commutative FMAX and FMIN. In some cases
this allows for better code generation.
Added a new DAGCombine transformation to convert FMAX and FMIN to FMANC and
FMINC, which are commutative.
For example:
movaps %xmm0, %xmm1
movsd LC(%rip), %xmm0
minsd %xmm1, %xmm0
becomes:
minsd LC(%rip), %xmm0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/dot-req.s')
0 files changed, 0 insertions, 0 deletions