1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=x86_64-unknown-linux | FileCheck %s --check-prefix=SDAG 3; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-unknown-linux | FileCheck %s --check-prefix=FAST 4 5define i32 @freeze(i32 %t) { 6; SDAG-LABEL: freeze: 7; SDAG: # %bb.0: 8; SDAG-NEXT: movl %edi, %eax 9; SDAG-NEXT: xorl $10, %eax 10; SDAG-NEXT: retq 11; 12; FAST-LABEL: freeze: 13; FAST: # %bb.0: 14; FAST-NEXT: movl $10, %eax 15; FAST-NEXT: xorl %edi, %eax 16; FAST-NEXT: retq 17 %1 = freeze i32 %t 18 %2 = freeze i32 10 19 %3 = xor i32 %1, %2 20 ret i32 %3 21} 22