[all-commits] [llvm/llvm-project] f4a603: [X86][NFC]Remove dead code in IfConversion.cpp
XinWang10 via All-commits
all-commits at lists.llvm.org
Mon Aug 7 23:50:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4a6038e80655e9befe0b820e9a201de32696efa
https://github.com/llvm/llvm-project/commit/f4a6038e80655e9befe0b820e9a201de32696efa
Author: XinWang10 <xin10.wang at intel.com>
Date: 2023-08-07 (Mon, 07 Aug 2023)
Changed paths:
M llvm/lib/CodeGen/IfConversion.cpp
Log Message:
-----------
[X86][NFC]Remove dead code in IfConversion.cpp
In line 544, if we go in to isFalse, then the Kind could be ICTriangleFalse and isRev must be False, so we never go into the true branch in line 545, better to remove it.
Reviewed By: skan, pengfei
Differential Revision: https://reviews.llvm.org/D157260
More information about the All-commits
mailing list