[PATCH] [Hexagon] Generate hardware loop when loop has a critical edge

Sundeep sundeepk at codeaurora.org
Tue May 12 14:46:01 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/Hexagon/HexagonHardwareLoops.cpp:1364
@@ +1363,3 @@
+    if (TB == Latch)
+      (LTB == Header) ? TB = LTB: TB = LFB;
+    else // FB == Latch
----------------
Why not using the std ? : operator?

TB = (LTB == Header) ? LTB: LFB;

http://reviews.llvm.org/D9678

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list