[llvm] test (PR #99740)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 22:51:24 PDT 2024
https://github.com/justinfargnoli created https://github.com/llvm/llvm-project/pull/99740
None
>From ee17e74565f5348a3bc484bb02c7b76397a2dd31 Mon Sep 17 00:00:00 2001
From: Justin Fargnoli <jfargnoli at nvidia.com>
Date: Fri, 19 Jul 2024 22:50:30 -0700
Subject: [PATCH] test
---
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 765f1e1f5f68c..86cbc5aaa7330 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -5810,7 +5810,7 @@ SDValue DAGCombiner::hoistLogicOpWithSameOpcodeHands(SDNode *N) {
return SDValue();
// Be extra careful sinking truncate. If it's free, there's no benefit in
// widening a binop. Also, don't create a logic op on an illegal type.
- if (TLI.isZExtFree(VT, XVT) && TLI.isTruncateFree(XVT, VT))
+ if (/*TLI.isZExtFree(VT, XVT) && */TLI.isTruncateFree(XVT, VT))
return SDValue();
if (!TLI.isTypeLegal(XVT))
return SDValue();
More information about the llvm-commits
mailing list