view test/CodeGen/PowerPC/neg.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep neg

define i32 @test(i32 %X) {
        %Y = sub i32 0, %X              ; <i32> [#uses=1]
        ret i32 %Y
}