comparison llvm/test/Transforms/MergeFunc/phi-speculation1.ll @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
1 ; REQUIRES: asserts 1 ; REQUIRES: asserts
2 ; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | not grep "functions merged" 2 ; RUN: opt < %s -passes=mergefunc -stats -disable-output 2>&1 | not grep "functions merged"
3 3
4 define i32 @foo1(i32 %x) { 4 define i32 @foo1(i32 %x) {
5 entry: 5 entry:
6 %A = add i32 %x, 1 6 %A = add i32 %x, 1
7 %B = call i32 @foo1(i32 %A) 7 %B = call i32 @foo1(i32 %A)