llvm-project/llvm/test/Transforms/InstNamer/basic.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
384 B
LLVM
Raw Normal View History

; RUN: opt -S -instnamer < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @f_0(i32) {
; CHECK-LABEL: @f_0(
; CHECK: bb:
; CHECK-NEXT: %tmp = add i32 %arg, 2
; CHECK-NEXT: br label %bb1
; CHECK: bb1:
; CHECK-NEXT: ret i32 %tmp
%2 = add i32 %0, 2
br label %3
; <label>:3:
ret i32 %2
}