diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2020-12-16 16:40:21 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2020-12-16 16:40:37 +0000 |
commit | b607837c75d04cc007dcf855983dfa3b69f63d73 (patch) | |
tree | c652c9639e819a87a6892d4106c498dd01a13f98 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 6e890ec7beb0874464a0af9f84e41a987f968b23 (diff) | |
download | llvm-b607837c75d04cc007dcf855983dfa3b69f63d73.zip llvm-b607837c75d04cc007dcf855983dfa3b69f63d73.tar.gz llvm-b607837c75d04cc007dcf855983dfa3b69f63d73.tar.bz2 |
[libomptarget][nfc] Replace static const with enum
[libomptarget][nfc] Replace static const with enum
Semantically identical. Replaces 0xff... with ~0 to spare counting the f.
Has the advantage that the compiler doesn't need to prove the 4/8 byte
value dead before discarding it, and sidesteps the compilation question
associated with what static means for a single source language.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D93328
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions