summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2020-01-06 09:56:02 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2020-01-06 09:56:02 +0000
commit0efc9e5a8cc12b9cb30adf2a3dbb14ffbc60e338 (patch)
tree351bf5fc3310a42fb50baf6e5a150590dafb740b /llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
parent5173bfcbc4873fa12d14de0a0a4e6ac9ce960b5e (diff)
downloadbcm5719-llvm-0efc9e5a8cc12b9cb30adf2a3dbb14ffbc60e338.tar.gz
bcm5719-llvm-0efc9e5a8cc12b9cb30adf2a3dbb14ffbc60e338.zip
[ARM][MVE] More MVETailPredication debug messages. NFC.
I've added a few more debug messages to MVETailPredication because I wanted to trace better which instructions are added/removed. And while I was at it, I factored out one function which I thought was clearer, and have added some comments to describe better the flow between MVETailPredication and ARMLowOverheadLoops. Differential Revision: https://reviews.llvm.org/D71549
Diffstat (limited to 'llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
index 136f7d7e8de..31a98d86a54 100644
--- a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
+++ b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
@@ -15,6 +15,10 @@
/// - t2LoopDec - placed within in the loop body.
/// - t2LoopEnd - the loop latch terminator.
///
+/// In addition to this, we also look for the presence of the VCTP instruction,
+/// which determines whether we can generated the tail-predicated low-overhead
+/// loop form.
+///
//===----------------------------------------------------------------------===//
#include "ARM.h"
OpenPOWER on IntegriCloud