HankChang736 wrote:

I tried the test case below without passing 'v' extension in Clang command line 
argument.
`__attribute__((target("zve32x")))
void test_A(int *p) {
  asm volatile("" :: "A"(*p));
}
`
The generated LLVM IR result is :
`; Function Attrs: nounwind
define dso_local void @test_A(ptr noundef %p) local_unnamed_addr #0 {
entry:
  tail call void asm sideeffect "", "*A"(ptr elementtype(i32) %p) #1, !srcloc !6
  ret void
}
`

https://github.com/llvm/llvm-project/pull/128636
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to