[llvm] [AMDGPU] Fix canonicalization of truncated values. (PR #83054)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 22:40:25 PST 2024
================
@@ -12416,7 +12416,7 @@ SDValue SITargetLowering::performRcpCombine(SDNode *N,
}
bool SITargetLowering::isCanonicalized(SelectionDAG &DAG, SDValue Op,
- unsigned MaxDepth) const {
+ bool &Trunc, unsigned MaxDepth) const {
----------------
arsenm wrote:
If you always introduce a freeze whenever eliding any canonicalize, shouldn't need this special casing of trunc anymore?
https://github.com/llvm/llvm-project/pull/83054
More information about the llvm-commits
mailing list