[PATCH] D157260: [X86][NFC]Remove dead code in IfConversion.cpp
Wang, Xin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 01:42:40 PDT 2023
XinWang10 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
XinWang10 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157260
Files:
llvm/lib/CodeGen/IfConversion.cpp
Index: llvm/lib/CodeGen/IfConversion.cpp
===================================================================
--- llvm/lib/CodeGen/IfConversion.cpp
+++ llvm/lib/CodeGen/IfConversion.cpp
@@ -542,8 +542,7 @@
LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
if (RetVal) {
if (isFalse) {
- if (isRev) ++NumTriangleFRev;
- else ++NumTriangleFalse;
+ ++NumTriangleFalse;
} else {
if (isRev) ++NumTriangleRev;
else ++NumTriangle;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157260.547672.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/441c6a38/attachment.bin>
More information about the llvm-commits
mailing list