summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-03-20 11:21:15 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-03-20 11:21:15 +0000
commit624f5deff429ac31c5416db5083a8aa9119727db (patch)
treef06bee01a40204d203cf03b35866394b296ca6ab /llvm/tools/llvm-objcopy/ELF/Object.cpp
parentd4c80012c0441a88945116dd044eba12464f8a80 (diff)
downloadbcm5719-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 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud