diff options
author | Mark de Wever <koraq@xs4all.nl> | 2020-10-18 13:34:41 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2020-10-18 13:48:42 +0200 |
commit | 2bcda6bb2896f0f8daf67343edfc64fb226f3e3f (patch) | |
tree | f606041cb0f082b30bd0cfd2bf4a2c3b6cb04234 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 7081db99eee0123f955ab01e550bdfdfce606dd2 (diff) | |
download | llvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.zip llvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.tar.gz llvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.tar.bz2 |
[Sema, CodeGen] Implement [[likely]] and [[unlikely]] in SwitchStmt
This implements the likelihood attribute for the switch statement. Based on the
discussion in D85091 and D86559 it only handles the attribute when placed on
the case labels or the default labels.
It also marks the likelihood attribute as feature complete. There are more QoI
patches in the pipeline.
Differential Revision: https://reviews.llvm.org/D89210
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions