brintos

brintos / llvm-project-archived public Read only

0
0
Text · 831 B · 4299767 Raw
16 lines · plain
1; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu2; PR31243 4        %struct.cpuinfo_x86 = type { i8, i8, i8, i8, i32, i8, i8, i8, i32, i32, [9 x i32], [16 x i8], [64 x i8], i32, i32, i32, i64, %struct.cpumask_t, i16, i16, i16, i16, i16, i16, i16, i16, i32 }5        %struct.cpumask_t = type { [1 x i64] }6@.str10 = external constant [70 x i8]           ; <ptr> [#uses=1]7 8declare i32 @printk(ptr, ...)9 10define void @display_cacheinfo(ptr %c) nounwind section ".cpuinit.text" {11entry:12        %asmtmp = tail call { i32, i32, i32, i32 } asm "cpuid", "={ax},={bx},={cx},={dx},0,2,~{dirflag},~{fpsr},~{flags}"(i32 -2147483643, i32 0) nounwind          ; <{ i32, i32, i32, i32 }> [#uses=0]13        %0 = tail call i32 (ptr, ...) @printk(ptr @.str10, i32 0, i32 0, i32 0, i32 0) nounwind           ; <i32> [#uses=0]14        unreachable15}16