1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
3 @arr = internal global [10 x i32] zeroinitializer, align 16
5 ; CHECK: movl %edx, arr(,%rdx,4)
6 define dso_local i32 @main() #0 {
8 call void asm sideeffect inteldialect "mov dword ptr $0[rdx * $$4],edx", "=*m,~{dirflag},~{fpsr},~{flags}"(ptr elementtype([10 x i32]) @arr) #1, !srcloc !4
12 attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
13 attributes #1 = { nounwind }
15 !llvm.module.flags = !{!0, !1, !2}
18 !0 = !{i32 1, !"wchar_size", i32 4}
19 !1 = !{i32 7, !"uwtable", i32 1}
20 !2 = !{i32 7, !"frame-pointer", i32 2}