[llvm] [RISCV] Set the RVC bit in the ELF EFlags for C or Zca. (PR #80913)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 16:27:16 PST 2024
================
@@ -2,6 +2,8 @@
# RUN: llvm-mc -triple=riscv64 -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
# RUN: llvm-mc -triple=riscv32 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
# RUN: llvm-mc -triple=riscv64 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
+# RUN: llvm-mc -triple=riscv32 -mattr=+zca -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
----------------
topperc wrote:
Should I remove it from all of the RUN lines?
https://github.com/llvm/llvm-project/pull/80913
More information about the llvm-commits
mailing list