llvm-project
fe743233 - [AArch64] Avoid introducing illegal types in LowerVECTOR_COMPRESS (NFC) (#168520)

Commit
157 days ago
[AArch64] Avoid introducing illegal types in LowerVECTOR_COMPRESS (NFC) (#168520) This does not seem to be an issue currently, but when using VECTOR_COMPRESS as part of another lowering, I found these BITCASTs would result in "Unexpected illegal type!" errors. For example, this would convert the legal nxv2f32 type into the illegal nxv2i32 type. This patch avoids this by using no-op casts for unpacked types.
Author
Parents
Loading