diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-03-20 11:21:15 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-03-20 11:21:15 +0000 |
commit | 624f5deff429ac31c5416db5083a8aa9119727db (patch) | |
tree | f06bee01a40204d203cf03b35866394b296ca6ab /clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | |
parent | d4c80012c0441a88945116dd044eba12464f8a80 (diff) | |
download | bcm5719-llvm-624f5deff429ac31c5416db5083a8aa9119727db.tar.gz bcm5719-llvm-624f5deff429ac31c5416db5083a8aa9119727db.zip |
[X86] Remove X86 specific dag nodes for RDTSC/RDTSCP/RDPMC. NFCI
This patch removes the following dag node opcodes from namespace X86ISD:
RDTSC_DAG,
RDTSCP_DAG,
RDPMC_DAG
The logic that expands RDTSC/RDPMC/XGETBV intrinsics is basically the same. The
only differences are:
RDTSC/RDTSCP don't implicitly read ECX.
RDTSCP also implicitly writes ECX.
I moved the common expansion logic into a helper function with the goal to get
rid of code repetition. That helper is now used for the expansion of
RDTSC/RDTSCP/RDPMC/XGETBV intrinsics.
No functional change intended.
Differential Revision: https://reviews.llvm.org/D59547
llvm-svn: 356546
Diffstat (limited to 'clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py')
0 files changed, 0 insertions, 0 deletions