Closed Benjins closed 2 years ago
@llvm/issue-subscribers-backend-aarch64
@oToToT I added the backend:AArch64 label. Not sure if it is worth having a separate backend:NEON label, as technically NEON isn't an LLVM backend.
Thanks.
This looks like a very similar issue to before, where tryCombineFixedPointConvert has incorrect assumptions about the types of the inputs. I'll put together another patch.
The following IR when compiled via llc for the aarch64 backend will crash or hit in assertion if they're enabled.
Godbolt link
The assertion we get is in
tryCombineFixedPointConvert
:Full LLC crash log
The DAG at the point of the assertion:
The following is a minimal repro of the error via C++ when compiled with -O1:
Godbolt link
I have verified that this repros on the latest trunk (6e00a34cdb49ba1d4b72ec274e52260da9c52380).
For context: this code was generated by a fuzzer, it was not manually written.