[PATCH] D139414: [RISCV] Emit .variant_cc directives for vector function calls.
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 18:46:07 PST 2022
kito-cheng added a comment.
LGTM from the psABI perspective, but I would like to wait another week to make sure other review is happy :)
================
Comment at: llvm/test/CodeGen/RISCV/rvv/variant-cc.ll:13-18
+define <4 x i32> @fixed_vector_cc_1(<4 x i32> %arg) {
+; CHECK-ASM: .variant_cc fixed_vector_cc_1
+; CHECK-ASM-NEXT: fixed_vector_cc_1:
+; CHECK-OBJ-LABEL: Name: fixed_vector_cc_1
+; CHECK-OBJ: Other [ (0x80)
+ ret <4 x i32> %arg
----------------
I am surprise VLS type will set `.variant_cc` too, but I realized soon that's kind of LLVM ABI extensions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139414/new/
https://reviews.llvm.org/D139414
More information about the llvm-commits
mailing list