1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | FileCheck %s
4 @G1 = internal global i8 0 ; <ptr> [#uses=1]
5 @G2 = internal global i8 0 ; <ptr> [#uses=1]
10 ; CHECK-NEXT: movzx eax, byte ptr [G1]
11 ; CHECK-NEXT: # kill: def $ax killed $ax killed $eax
13 %tmp.0 = load i8, ptr @G1 ; <i8> [#uses=1]
14 %tmp.3 = zext i8 %tmp.0 to i16 ; <i16> [#uses=1]
21 ; CHECK-NEXT: movsx eax, byte ptr [G2]
22 ; CHECK-NEXT: # kill: def $ax killed $ax killed $eax
24 %tmp.0 = load i8, ptr @G2 ; <i8> [#uses=1]
25 %tmp.3 = sext i8 %tmp.0 to i16 ; <i16> [#uses=1]