blob: 2e360aac60a9108a63c6cb138e333f44b014cbed [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
; RUN: opt < %s -passes=gvn -S | FileCheck %s --check-prefixes=CHECK,MDEP
; RUN: opt < %s -passes='gvn<memoryssa>' -S | FileCheck --check-prefixes=CHECK,MSSA %s
define i32 @main() {
; CHECK-LABEL: define i32 @main() {
; CHECK-NEXT: [[BLOCK1:.*:]]
; CHECK-NEXT: ret i32 0
;
block1:
%z1 = bitcast i32 0 to i32
br label %block2
block2:
%z2 = bitcast i32 0 to i32
ret i32 %z2
}
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
; MDEP: {{.*}}
; MSSA: {{.*}}