comparison test/CodeGen/PowerPC/2008-03-05-RegScavengerAssert.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents 1172e4bd9c6f
children
comparison
equal deleted inserted replaced
134:3a76565eade5 147:c2174574ed3a
1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin 1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
2 2
3 declare i8* @bar(i32) 3 declare i8* @bar(i32)
4
5 ; CHECK: @foo
6 ; CHECK: blr
4 7
5 define void @foo(i8* %pp) nounwind { 8 define void @foo(i8* %pp) nounwind {
6 entry: 9 entry:
7 %tmp2 = tail call i8* @bar( i32 14 ) nounwind ; <i8*> [#uses=0] 10 %tmp2 = tail call i8* @bar( i32 14 ) nounwind ; <i8*> [#uses=0]
8 %tmp28 = bitcast i8* %pp to void ()** ; <void ()**> [#uses=1] 11 %tmp28 = bitcast i8* %pp to void ()** ; <void ()**> [#uses=1]