aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2021-06-09 08:19:43 +0000
committerDiana Picus <diana.picus@linaro.org>2021-06-14 07:48:09 +0000
commit57e85622bbdb2eb18cc03df2ea457019c58f6912 (patch)
tree85bad3b4fb0a6c17001e9fae3ce9ad6fab20bf1a /llvm/lib/CodeGen/MachineOperand.cpp
parent74d45b884cfb13d8530a64ba538817bdab165c12 (diff)
downloadllvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.zip
llvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.tar.gz
llvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.tar.bz2
[flang] Add initial implementation for CPU_TIME
Add an implementation for CPU_TIME based on std::clock(), which should be available on all the platforms that we support. Also add a test that's basically just a sanity check to make sure we return positive values and that the value returned at the start of some amount of work is larger than the one returned after the end. Differential Revision: https://reviews.llvm.org/D104019
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions