[PATCH] D91724: [HardwareLoops] Change order of SCEV expression construction for InitLoopCount.
Janek van Oirschot via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 08:51:56 PST 2020
JanekvO updated this revision to Diff 307094.
JanekvO added a comment.
Diff against HEAD
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91724/new/
https://reviews.llvm.org/D91724
Files:
llvm/lib/Analysis/TargetTransformInfo.cpp
Index: llvm/lib/Analysis/TargetTransformInfo.cpp
===================================================================
--- llvm/lib/Analysis/TargetTransformInfo.cpp
+++ llvm/lib/Analysis/TargetTransformInfo.cpp
@@ -218,8 +218,7 @@
ExitBlock = BB;
TripCount = SE.getAddExpr(EC, SE.getOne(EC->getType()));
- if (!EC->getType()->isPointerTy() &&
- EC->getType() != CountType)
+ if (!EC->getType()->isPointerTy() && EC->getType() != CountType)
TripCount = SE.getZeroExtendExpr(TripCount, CountType);
break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91724.307094.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201123/a7627b6d/attachment.bin>
More information about the llvm-commits
mailing list