Issue 181548
Summary Potential bug in lowering vgather intrinsics on the Hexagon backend.
Labels new issue
Assignees
Reporter widiba03304
    https://github.com/llvm/llvm-project/blob/afd4df07ab0262482829d4410a6bae9f2809d37b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp#L2076C49-L2076C49

This code was written about 9 years ago and probably needs an update.
The code visits an intrinsic call and fills the `InstrinsicInfo`.
`Info.memVT` should be one of vector types as the name of the variable saids, but it somehow get the type of the 1st operand of the call instruction, which maybe not a vector type.

https://github.com/llvm/llvm-project/blob/afd4df07ab0262482829d4410a6bae9f2809d37b/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td#L34187

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to