Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This is causing an assertion error in consumer-typeset for AArch64 at -O3.
llvm-test-suite/MultiSource/Benchmarks/MiBench/consumer-typeset/z29.c
Assertion failed: (Res.getLLTTy(*getMRI()).isScalar() == Op.getLLTTy(*getMRI()).isScalar()), function buildExtOrTrunc, file /Users/gruyere/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp, line 460.
Any thoughts?
Comment Actions
I've pushed a fix in 84bd8511085. Post-commit review welcome, but I wanted to fix the crashes ASAP.
The issue was that vector GEPs can take the form of scalar base ptrs + vector offsets.