diff options
Diffstat (limited to 'test/Integer/a1.ll')
-rw-r--r-- | test/Integer/a1.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Integer/a1.ll b/test/Integer/a1.ll index 6ee99f42ca..0404d742e7 100644 --- a/test/Integer/a1.ll +++ b/test/Integer/a1.ll @@ -10,14 +10,14 @@ @f = constant i1 sub(i1 1 , i1 -1) @g = constant i1 sub(i1 1 , i1 1) -@h = constant i1 shl(i1 1 , i1 1) +@h = constant i1 shl(i1 1 , i1 1) ; undefined @i = constant i1 shl(i1 1 , i1 0) @j = constant i1 lshr(i1 1, i1 1) ; undefined @m = constant i1 ashr(i1 1, i1 1) ; undefined @n = constant i1 mul(i1 -1, i1 1) -@o = constant i1 sdiv(i1 -1, i1 1) -@p = constant i1 sdiv(i1 1 , i1 -1) +@o = constant i1 sdiv(i1 -1, i1 1) ; overflow +@p = constant i1 sdiv(i1 1 , i1 -1); overflow @q = constant i1 udiv(i1 -1, i1 1) @r = constant i1 udiv(i1 1, i1 -1) @s = constant i1 srem(i1 -1, i1 1) ; overflow |