LLVM Intrinsics
I'm trying to use llvm.matrix.transpose intrinsic like following:
But Mojo is crashing:
My input and output types looks OK as I've followed it from here: https://llvm.org/docs/LangRef.html#llvm-matrix-transpose-intrinsic
Also I've tried using other intrinsics and they are working fine. e.g., llvm.vector.reduce.add:
And it outputs 46 correctly.
Can anyone guide me what I'm doing wrong while using the llvm.matrix intrinsic?
4 Replies
@benny do you remember why this doesn’t work?
whenever this kind of issue came up for me i needed to add type hints to all the variables and aliases even if they were obvious
not sure if that will fix it though since I haven’t used the transpose intrinsic
I think we tried this for voodoo?
if we did I don’t remember ever figuring it out