aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFrameInfo.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-03-30 00:57:28 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-04-06 00:04:08 -0500
commit931c0cd713ee9b082389727bed1b518c6a44344f (patch)
treef7fb84eb6a362a550fe0f92b43480c1dfe3f1be6 /llvm/lib/CodeGen/MachineFrameInfo.cpp
parent8ea07f62a6f06bdb7da981425227995423867a4d (diff)
downloadllvm-931c0cd713ee9b082389727bed1b518c6a44344f.zip
llvm-931c0cd713ee9b082389727bed1b518c6a44344f.tar.gz
llvm-931c0cd713ee9b082389727bed1b518c6a44344f.tar.bz2
[OpenMP][NFC] Move and simplify directive -> allowed clause mapping
Move the listing of allowed clauses per OpenMP directive to the new macro file in `llvm/Frontend/OpenMP`. Also, use a single generic macro that specifies the directive and one allowed clause explicitly instead of a dedicated macro per directive. We save 800 loc and boilerplate for all new directives/clauses with no functional change. We also need to include the macro file only once and not once per directive. Depends on D77112. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D77113
Diffstat (limited to 'llvm/lib/CodeGen/MachineFrameInfo.cpp')
0 files changed, 0 insertions, 0 deletions