view test/Assembler/2007-03-19-NegValue.ll @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

; 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
}