[llvm] [AMDGPU] Fix canonicalization of truncated values. (PR #83054)
Harald van Dijk via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 12:59:29 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 {
----------------
hvdijk wrote:
With this different approach based on your idea, this is no longer needed.
https://github.com/llvm/llvm-project/pull/83054
More information about the llvm-commits
mailing list