summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/add-128bit.ll
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2015-04-13 17:47:15 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2015-04-13 17:47:15 +0000
commitffcd96864721a8901412c5c51e08120c103948d4 (patch)
treee02974e95f5cf2a3d2435ae1a6f675775a4848ae /llvm/test/CodeGen/NVPTX/add-128bit.ll
parent6f1fadf989a2ecff98521895b2540140f1aeaada (diff)
downloadbcm5719-llvm-ffcd96864721a8901412c5c51e08120c103948d4.tar.gz
bcm5719-llvm-ffcd96864721a8901412c5c51e08120c103948d4.zip
Revert revisions r234755, r234759, r234760
Revert "Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default)" Revert "R600: Add carry and borrow instructions. Use them to implement UADDO/USUBO" Revert "LegalizeDAG: Try to use Overflow operations when expanding ADD/SUB" Using overflow operations fails CodeGen/Generic/2011-07-07-ScheduleDAGCrash.ll on hexagon, nvptx, and r600. Revert while I investigate. llvm-svn: 234768
Diffstat (limited to 'llvm/test/CodeGen/NVPTX/add-128bit.ll')
-rw-r--r--llvm/test/CodeGen/NVPTX/add-128bit.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/NVPTX/add-128bit.ll b/llvm/test/CodeGen/NVPTX/add-128bit.ll
index c1144def8c2..29e3cdffae7 100644
--- a/llvm/test/CodeGen/NVPTX/add-128bit.ll
+++ b/llvm/test/CodeGen/NVPTX/add-128bit.ll
@@ -7,8 +7,10 @@ target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
define void @foo(i64 %a, i64 %add, i128* %retptr) {
; CHECK: add.s64
; CHECK: setp.lt.u64
+; CHECK: setp.lt.u64
+; CHECK: selp.b64
; CHECK: selp.b64
-; CHECK: sub.s64
+; CHECK: add.s64
%t1 = sext i64 %a to i128
%add2 = zext i64 %add to i128
%val = add i128 %t1, %add2
OpenPOWER on IntegriCloud