Hello,
I got a build failures after syncing llvm, gollvm and gofront-end to their latest commits, llvm-goc errors out:
=================================================================
Intrinsic name not mangled correctly for type arguments! Should be: llvm.prefetch.p0i8
void (i8*, i32, i32, i32)* @llvm.prefetch.p0i8.i32.i32
=================================================================
commit c0702618c0e0a5c742aa20b831041bde366417f1
- : Intrinsic<[], [ llvm_ptr_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty ],
+ : Intrinsic<[], [ llvm_anyptr_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty ],
The above commit submitted last week in llvm makes 'prefetch' an overloaded built-in now.
Gollvm considers all arguments of 'prefetch' being of overloaded type when calculating its mangled name, while llvm only takes the first which of iPTRAny, should gollvm be enhanced to align with llvm?