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 a7a1618 commit 2e49c52Copy full SHA for 2e49c52
tests/codegen-llvm/const-vector.rs
@@ -15,6 +15,7 @@
15
#![feature(arm_target_feature)]
16
#![feature(mips_target_feature)]
17
#![allow(non_camel_case_types)]
18
+#![feature(riscv_target_feature)]
19
20
#[path = "../auxiliary/minisimd.rs"]
21
mod minisimd;
@@ -42,6 +43,7 @@ extern "unadjusted" {
42
43
#[cfg_attr(target_arch = "arm", target_feature(enable = "neon"))]
44
#[cfg_attr(target_arch = "x86", target_feature(enable = "sse"))]
45
#[cfg_attr(target_arch = "mips", target_feature(enable = "msa"))]
46
+#[cfg_attr(target_arch = "riscv64", target_feature(enable = "v"))]
47
pub fn do_call() {
48
unsafe {
49
// CHECK: call void @test_i8x2(<2 x i8> <i8 32, i8 64>
0 commit comments