woruyu wrote:

I try to add `_mm_mask_loadu_ps`  using clangir to emit llvm-ir, but it report
```
error: call intrinsic signature <4 x float> (ptr, i32, <4 x i1>, <4 x float>) 
to overloaded intrinsic "llvm.masked.load" does not match any of the overloads
error: LLVM Translation failed for operation: llvm.call_intrinsic
fatal error: error in backend: Lowering from LLVMIR dialect to llvm IR failed!
```
and I find https://github.com/llvm/llvm-project/pull/163802 modify 
int_masked_load Intrinsic to not use mask as args, which means I need to modify 
cir codes to emit call intrisic(not use mask as args), Is it right? Any 
suggestion!

https://github.com/llvm/llvm-project/pull/169464
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to