diff options
author | Craig Topper <craig.topper@intel.com> | 2018-09-07 19:14:15 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-09-07 19:14:15 +0000 |
commit | 4863313b350bd32f787d443c7ea24f102fb7a0fc (patch) | |
tree | 39adab548940491563bf1a9adff1cb5b0637312d /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | 49c2add9fb08f4acfabc9d2093fa37c8375460f3 (diff) | |
download | llvm-4863313b350bd32f787d443c7ea24f102fb7a0fc.zip llvm-4863313b350bd32f787d443c7ea24f102fb7a0fc.tar.gz llvm-4863313b350bd32f787d443c7ea24f102fb7a0fc.tar.bz2 |
[X86] Modify the the rdtscp intrinsic to return values instead of taking a pointer argument
Similar to what was recently done for addcarry/subborrow and has been done for rdrand/rdseed for a while. It's better to use two results and an explicit store in IR when the store isn't part of the semantics of the instruction. This allows store->load forwarding to happen in the middle end. Or the store to be removed if its never loaded.
Differential Revision: https://reviews.llvm.org/D51803
llvm-svn: 341698
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
0 files changed, 0 insertions, 0 deletions