brintos

brintos / llvm-project-archived public Read only

0
0
Text · 669 B · 031bccb Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s                               -mtriple=x86_64-unknown-linux | FileCheck %s --check-prefix=SDAG3; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-unknown-linux | FileCheck %s --check-prefix=FAST4 5define i32 @freeze(i32 %t) {6; SDAG-LABEL: freeze:7; SDAG:       # %bb.0:8; SDAG-NEXT:    movl %edi, %eax9; SDAG-NEXT:    xorl $10, %eax10; SDAG-NEXT:    retq11;12; FAST-LABEL: freeze:13; FAST:       # %bb.0:14; FAST-NEXT:    movl %edi, %eax15; FAST-NEXT:    xorl $10, %eax16; FAST-NEXT:    retq17  %1 = freeze i32 %t18  %2 = freeze i32 1019  %3 = xor i32 %1, %220  ret i32 %321}22