aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/2007-03-19-NegValue.ll
blob: e90cf351e1d737595eb239c0d335c868f598511f (plain)
1
2
3
4
5
6
7
; Test whether negative values > 64 bits retain their negativeness.
; RUN: llvm-as < %s | llvm-dis | grep {add i65.*, -1}

define i65 @testConsts(i65 %N) {
  %a = add i65 %N, -1
  ret i65 %a
}