brintos

brintos / llvm-project-archived public Read only

0
0
Text · 371 B · 2c4a936 Raw
11 lines · plain
1; RUN: llc -mtriple=riscv64 < %s -o - | FileCheck --check-prefixes=CHECK-ATTRIBUTES %s2; RUN: llc -mtriple=riscv64 < %s -filetype=obj | llvm-readelf -h - \3; RUN:     | FileCheck --check-prefixes=CHECK-EFLAGS %s4 5; CHECK-ATTRIBUTES: .attribute      5, "rv64i2p1"6; CHECK-EFLAGS: Flags: 0x07define void @test() {8  tail call void asm ".option arch, +c", ""()9  ret void10}11