1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/Transforms/MetaRenamer/main.ll
Arthur Eubanks 7b924b5661 [MetaRenamer][NewPM] Port metarenamer to NPM
Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D88690
2020-10-02 15:42:25 -07:00

17 lines
307 B
LLVM

; Make sure @main is left untouched.
; RUN: opt -metarenamer -S %s | FileCheck %s
; RUN: opt -passes=metarenamer -S %s | FileCheck %s
; CHECK: define void @main
; CHECK: call void @main
define void @main() {
call void @patatino()
ret void
}
define void @patatino() {
call void @main()
ret void
}