[all-commits] [llvm/llvm-project] e5d9ab: [Hexagon] Fix insertion point for pointer differen...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Wed Oct 19 14:25:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5d9ab08c39aa674def376dcffead2242a097536
https://github.com/llvm/llvm-project/commit/e5d9ab08c39aa674def376dcffead2242a097536
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
A llvm/test/CodeGen/Hexagon/autohvx/vector-align-terminator.ll
Log Message:
-----------
[Hexagon] Fix insertion point for pointer difference calculation
HVC::calculatePointerDifference inserts temporary instructions for
simplification, and calulation of known bits. These instructions were
inserted at the end of a basic block (after the terminator), which
caused BB->getTerminator() to return nullptr. This, in turn, caused
a crash when a PHI instruction was examined in computeKnownBits.
More information about the All-commits
mailing list