aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-04-03 12:35:30 -0700
committerReid Kleckner <rnk@google.com>2020-04-03 13:27:52 -0700
commitba1ffd25c1f7a3564136b13e49fb1a7185561613 (patch)
treef9ce85dbd9e415bc308baa008fd629593a998ba2 /llvm/lib/CodeGen/MachineFunction.cpp
parente33a636e26349bf42557908766911654d60cb6c0 (diff)
downloadllvm-ba1ffd25c1f7a3564136b13e49fb1a7185561613.zip
llvm-ba1ffd25c1f7a3564136b13e49fb1a7185561613.tar.gz
llvm-ba1ffd25c1f7a3564136b13e49fb1a7185561613.tar.bz2
[OpenMP][NFC] Remove the need to include `OpenMPClause.h`
See rational here: https://reviews.llvm.org/D76173#1922916 Time to compile Attr.h in isolation goes from 2.6s to 1.8s. Original patch by Johannes, plus some additions from Reid to fix some clang tooling targets. Effect on transitive includes is marginal, though: $ diff -u <(sort thedeps-before.txt) <(sort thedeps-after.txt) \ | grep '^[-+] ' | sort | uniq -c | sort -nr 104 - /usr/local/google/home/rnk/llvm-project/clang/include/clang/AST/OpenMPClause.h 87 - /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/Frontend/OpenMP/OMPContext.h 19 - /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/ADT/SmallSet.h 19 - /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/ADT/SetVector.h 14 - /usr/include/c++/9/set ... Differential Revision: https://reviews.llvm.org/D76184
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions