We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119574f commit e5466d2Copy full SHA for e5466d2
tests/codegen/const-vector.rs
@@ -14,6 +14,7 @@
14
#![feature(simd_ffi)]
15
#![feature(arm_target_feature)]
16
#![feature(mips_target_feature)]
17
+#![feature(riscv_target_feature)]
18
#![allow(non_camel_case_types)]
19
20
// Setting up structs that can be used as const vectors
@@ -51,6 +52,7 @@ extern "unadjusted" {
51
52
#[cfg_attr(target_arch = "arm", target_feature(enable = "neon"))]
53
#[cfg_attr(target_arch = "x86", target_feature(enable = "sse"))]
54
#[cfg_attr(target_arch = "mips", target_feature(enable = "msa"))]
55
+#[cfg_attr(target_arch = "riscv64", target_feature(enable = "v"))]
56
pub fn do_call() {
57
unsafe {
58
// CHECK: call void @test_i8x2(<2 x i8> <i8 32, i8 64>
0 commit comments