summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-01-24 06:47:57 +0000
committerJuergen Ributzka <juergen@apple.com>2014-01-24 06:47:57 +0000
commite758ddcd16f701225ac673c5f38e2e04b9d24faa (patch)
treee657861491a7d737167b0c6ed7ebc81ae3c06186 /llvm/lib/Target/Sparc
parent05ae2d671549d080ec81627299ccd61809355c29 (diff)
downloadbcm5719-llvm-e758ddcd16f701225ac673c5f38e2e04b9d24faa.tar.gz
bcm5719-llvm-e758ddcd16f701225ac673c5f38e2e04b9d24faa.zip
[X86] Prevent the creation of redundant ops for sadd and ssub with overflow.
This commit teaches the X86 backend to create the same X86 instructions when it lowers an sadd/ssub with overflow intrinsic and a conditional branch that uses that overflow result. This allows SelectionDAG to recognize and remove one of the redundant operations. This fixes <rdar://problem/15874016> and <rdar://problem/15661073>. Reviewed by Nadav llvm-svn: 199976
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud