brintos

brintos / llvm-project-archived public Read only

0
0
Text · 613 B · 2e360aa Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; RUN: opt < %s -passes=gvn -S | FileCheck %s --check-prefixes=CHECK,MDEP3; RUN: opt < %s -passes='gvn<memoryssa>' -S | FileCheck --check-prefixes=CHECK,MSSA %s4 5define i32 @main() {6; CHECK-LABEL: define i32 @main() {7; CHECK-NEXT:  [[BLOCK1:.*:]]8; CHECK-NEXT:    ret i32 09;10block1:11  %z1 = bitcast i32 0 to i3212  br label %block213block2:14  %z2 = bitcast i32 0 to i3215  ret i32 %z216}17;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:18; MDEP: {{.*}}19; MSSA: {{.*}}20