; RUN: llc -march=hexagon -mcpu=hexagonv5 < %s | FileCheck %s ; Check that the parsing succeeded. ; CHECK: r{{[0-9]+:[0-9]+}} = xor(r{{[0-9]+:[0-9]+}}, r{{[0-9]+:[0-9]+}}) target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-v64:64:64-v32:32:32-a0:0-n16:32" target triple = "hexagon" @window_size = global i32 65536, align 4 @prev = external global [0 x i16], align 8 @block_start = common global i32 0, align 4 @prev_length = common global i32 0, align 4 @strstart = common global i32 0, align 4 @match_start = common global i32 0, align 4 @max_chain_length = common global i32 0, align 4 @good_match = common global i32 0, align 4 define void @fill_window() #0 { entry: br label %polly.loop_body polly.loop_after: ; preds = %polly.loop_body ret void polly.loop_body: ; preds = %entry, %polly.loop_body %polly.loopiv36 = phi i32 [ 0, %entry ], [ %polly.next_loopiv, %polly.loop_body ] %polly.next_loopiv = add nsw i32 %polly.loopiv36, 4 %p_arrayidx4 = getelementptr [0 x i16], [0 x i16]* @prev, i32 0, i32 %polly.loopiv36 %vector_ptr = bitcast i16* %p_arrayidx4 to <4 x i16>* %_p_vec_full = load <4 x i16>, <4 x i16>* %vector_ptr, align 2 %cmp1p_vicmp = icmp slt <4 x i16> %_p_vec_full, zeroinitializer %subp_vec = xor <4 x i16> %_p_vec_full, %sel1p_vsel = select <4 x i1> %cmp1p_vicmp, <4 x i16> %subp_vec, <4 x i16> zeroinitializer store <4 x i16> %sel1p_vsel, <4 x i16>* %vector_ptr, align 2 %0 = icmp slt i32 %polly.next_loopiv, 32768 br i1 %0, label %polly.loop_body, label %polly.loop_after } attributes #0 = { nounwind "fp-contract-model"="standard" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" }