aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-03-06 05:24:55 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-03-09 19:43:45 +0000
commit8205c1a90a4e0c8d4578eb83fcdf7baa9f276ac6 (patch)
treef278cba1ef8129c020ceb2601d958dda2b8b9643 /clang/lib/Frontend/CompilerInvocation.cpp
parent1f55fa0b99e0755c96bfd5cd0cdbe9cbc26fe2db (diff)
downloadllvm-8205c1a90a4e0c8d4578eb83fcdf7baa9f276ac6.zip
llvm-8205c1a90a4e0c8d4578eb83fcdf7baa9f276ac6.tar.gz
llvm-8205c1a90a4e0c8d4578eb83fcdf7baa9f276ac6.tar.bz2
Rework LLVM Dialect LoopOptions attribute
Instead of storing an array of LoopOpt attributes, which were just wrapping std::pair<enum, int> anyway, we can have an attribute storing a sorted ArrayRef<std::pair<enum, int>> as a single unit. This improves here the textual format and the general API. Note that we're limiting the options to fit into an int64_t by design, but this isn't a new constraint. Building the LoopOptions attribute is likely worth a specific builder for efficient reason, that'll be the subject of a future patch. Differential Revision: https://reviews.llvm.org/D98105
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions