1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
4 ; Do eliminate the zero-extension instruction and rely on
5 ; x86-64's implicit zero-extension!
7 define i64 @foo(ptr %p) nounwind {
10 ; CHECK-NEXT: movl (%rdi), %eax
11 ; CHECK-NEXT: incl %eax
15 %z = zext i32 %n to i64