brintos

brintos / llvm-project-archived public Read only

0
0
Text · 863 B · 1ae63ea Raw
23 lines · plain
1; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s2 3@arr = internal global [10 x i32] zeroinitializer, align 164 5; CHECK: movl    %edx, arr(,%rdx,4)6define dso_local i32 @main() #0 {7entry: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 !49  ret i32 010}11 12attributes #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" }13attributes #1 = { nounwind }14 15!llvm.module.flags = !{!0, !1, !2}16!llvm.ident = !{!3}17 18!0 = !{i32 1, !"wchar_size", i32 4}19!1 = !{i32 7, !"uwtable", i32 1}20!2 = !{i32 7, !"frame-pointer", i32 2}21!3 = !{!"clang"}22!4 = !{i64 63}23