Reid Spencer | 4a33714 | 2007-03-19 20:35:26 +0000 | [diff] [blame] | 1 | ; Test whether negative values > 64 bits retain their negativeness. |
Rafael Espindola | 4396b44 | 2014-11-06 15:05:51 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llvm-dis | FileCheck %s |
Duncan P. N. Exon Smith | 13f5c58 | 2014-08-19 21:08:27 +0000 | [diff] [blame] | 3 | ; RUN: verify-uselistorder %s |
Reid Spencer | 4a33714 | 2007-03-19 20:35:26 +0000 | [diff] [blame] | 4 | |
| 5 | define i65 @testConsts(i65 %N) { |
Rafael Espindola | 4396b44 | 2014-11-06 15:05:51 +0000 | [diff] [blame] | 6 | ; CHECK: add i65 %N, -1 |
Reid Spencer | 4a33714 | 2007-03-19 20:35:26 +0000 | [diff] [blame] | 7 | %a = add i65 %N, -1 |
| 8 | ret i65 %a |
| 9 | } |