summaryrefslogtreecommitdiffstats
path: root/polly/include
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2018-09-11 14:17:44 +0000
committerTobias Grosser <tobias@grosser.es>2018-09-11 14:17:44 +0000
commit4beb2f964b4d8b1017b17c19b48a3ddfdfcf1312 (patch)
tree71b8b69d8a18017f3fa0e04f782015439377a727 /polly/include
parente2745b5d86747073e0772b16654e951a14825cfd (diff)
downloadbcm5719-llvm-4beb2f964b4d8b1017b17c19b48a3ddfdfcf1312.tar.gz
bcm5719-llvm-4beb2f964b4d8b1017b17c19b48a3ddfdfcf1312.zip
[PerfMonitor] Fix rdtscp callsites
Summary: Update all rdtscp callsites in PerfMonitor so that they conform with the signature changes introduced in r341698. Reviewers: grosser, bollu Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D51928 llvm-svn: 341946
Diffstat (limited to 'polly/include')
-rw-r--r--polly/include/polly/CodeGen/PerfMonitor.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/polly/include/polly/CodeGen/PerfMonitor.h b/polly/include/polly/CodeGen/PerfMonitor.h
index e6245cdb3a8..77b59b4f739 100644
--- a/polly/include/polly/CodeGen/PerfMonitor.h
+++ b/polly/include/polly/CodeGen/PerfMonitor.h
@@ -71,11 +71,6 @@ private:
/// The value of the cycle counter at the beginning of the last scop.
llvm::Value *CyclesInScopStartPtr;
- /// A memory location which serves as argument of the RDTSCP function.
- ///
- /// The value written to this location is currently not used.
- llvm::Value *RDTSCPWriteLocation;
-
/// A global variable, that keeps track if the performance monitor
/// initialization has already been run.
llvm::Value *AlreadyInitializedPtr;
@@ -106,7 +101,7 @@ private:
/// this scop runs.
void addScopCounter();
- /// Get a reference to the intrinsic "i64 @llvm.x86.rdtscp(i8*)".
+ /// Get a reference to the intrinsic "{ i64, i32 } @llvm.x86.rdtscp()".
///
/// The rdtscp function returns the current value of the processor's
/// time-stamp counter as well as the current CPU identifier. On modern x86
OpenPOWER on IntegriCloud