1 ; RUN: opt -licm -mtriple=amdgcn -S -o - %s | FileCheck %s
5 define void @foo(i8* %d, <1 x i32>* %s, i32 %idx) {
10 %v0 = load <1 x i32>, <1 x i32>* %s
11 %v1 = bitcast <1 x i32> %v0 to <4 x i8>
15 %e0 = extractelement <4 x i8> %v1, i32 %idx
17 br i1 false, label %for.exit, label %for.body