1 ; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
\r
2 ; Checks that a zeroing mov is inserted for the trunc/zext pair even when
\r
3 ; the source of the zext is an AssertSext node
\r
6 define i64 @main(i64 %a) {
\r
8 ; CHECK: movl %e{{..}}, %eax
\r
11 %trunc = trunc i64 %or to i32
\r
14 %ext = zext i32 %trunc to i64
\r