Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / RISCV / elf-flags.s
blob1d183aab33974632b594aed314970ae79c36eb90
1 # RUN: llvm-mc -triple=riscv32 -filetype=obj < %s | llvm-readobj -file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
2 # RUN: llvm-mc -triple=riscv64 -filetype=obj < %s | llvm-readobj -file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
3 # RUN: llvm-mc -triple=riscv32 -mattr=+c -filetype=obj < %s | llvm-readobj -file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
4 # RUN: llvm-mc -triple=riscv64 -mattr=+c -filetype=obj < %s | llvm-readobj -file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
6 # CHECK-RVI: Flags [ (0x0)
7 # CHECK-RVI-NEXT: ]
9 # CHECK-RVIC: Flags [ (0x1)
10 # CHECK-RVIC-NEXT: EF_RISCV_RVC (0x1)
11 # CHECK-RVIC-NEXT: ]
13 nop