summaryrefslogtreecommitdiff
path: root/test/Assembler/2007-03-19-NegValue.ll
blob: 64eb3cb5903a20b1dbbf4923a6270ac9a78100e8 (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
}