Support for Hexagon VLIW Packetizer.
[oota-llvm.git] / test / CodeGen / Generic / div-neg-power-2.ll
index 7452c7e3aa0cc9c588e20afe0f1e09945b6b183d..246cd033e27981c7bcb31494217ce1a4a22fd11a 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
+; RUN: llc < %s
 
-int %test(int %X) {
-  %Y = div int %X, -2
-  ret int %Y
+define i32 @test(i32 %X) {
+        %Y = sdiv i32 %X, -2            ; <i32> [#uses=1]
+        ret i32 %Y
 }
+