mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-14 05:50:43 +00:00

Differential Revision: https://reviews.llvm.org/D31141 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298281 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
349 B
LLVM
13 lines
349 B
LLVM
; RUN: opt -mtriple=amdgcn-- -O1 -S -inline-threshold=1 %s | FileCheck %s
|
|
|
|
; CHECK: @add1alias = alias i32 (i32), i32 (i32)* @add1
|
|
; CHECK: @add1alias2 = alias i32 (i32), i32 (i32)* @add1
|
|
|
|
@add1alias = alias i32 (i32), i32 (i32)* @add1
|
|
@add1alias2 = alias i32 (i32), i32 (i32)* @add1
|
|
|
|
define i32 @add1(i32) {
|
|
%2 = add nsw i32 %0, 1
|
|
ret i32 %2
|
|
}
|