[PATCH] D141032: [Clang][RISCV] Expose vlenb to user
Wang Pengcheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 8 23:55:38 PST 2023
pcwang-thead added inline comments.
================
Comment at: clang/test/CodeGen/RISCV/rvv-intrinsics/vlenb.c:33
+// RV32: !2 = !{i32 1, !"SmallDataLimit", i32 0}
+// RV32: !3 = !{!"clang version 16.0.0 (git at github.com:llvm/llvm-project.git e80f0cc0a318fe8473ba460d6a16166d81b303b1)"}
+// RV32: !4 = !{!"vlenb"}
----------------
Hmm, why would we emit version info here? I think we should avoid this.
I find a clang option `-Qn` that can disable emitting this by setting `EmitVersionIdentMetadata` to `false`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141032/new/
https://reviews.llvm.org/D141032
More information about the cfe-commits
mailing list