[DAGCombiner][AArch64] Fix incorrect cast VT in `takeInexpensiveLog2`
Previously, we where taking `CurVT` before finalizing `ToCast` which meant potentially returning an `SDValue` with an illegal `ValueType` for the operation. Fix is to just take `CurVT` after we have finalized `ToCast` with `PeekThroughCastsAndTrunc`.
parent
f1128f37
Please register or sign in to comment