You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
22
external/llvm/test/Analysis/BlockFrequencyInfo/redundant_edges.ll
vendored
Normal file
22
external/llvm/test/Analysis/BlockFrequencyInfo/redundant_edges.ll
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
; RUN: opt < %s -analyze -block-freq | FileCheck %s
|
||||
; RUN: opt < %s -analyze -lazy-block-freq | FileCheck %s
|
||||
; RUN: opt < %s -passes='print<block-freq>' -disable-output 2>&1 | FileCheck %s
|
||||
|
||||
define void @test1() {
|
||||
; CHECK-LABEL: Printing analysis {{.*}} for function 'test1':
|
||||
; CHECK-NEXT: block-frequency-info: test1
|
||||
; CHECK-NEXT: entry: float = 1.0, int = [[ENTRY:[0-9]+]]
|
||||
entry:
|
||||
br label %loop
|
||||
|
||||
; CHECK-NEXT: loop: float = 32.0
|
||||
loop:
|
||||
switch i32 undef, label %loop [
|
||||
i32 0, label %return
|
||||
i32 1, label %return
|
||||
]
|
||||
|
||||
; CHECK-NEXT: return: float = 1.0
|
||||
return:
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user