[PATCH] D27145: Add "RPRED" mechanism for relocation predicates. (5% speedup for `ld.lld -O0`)

Noel Grandin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 26 22:53:19 PST 2016


grandinj added a comment.

Do the use-sites need to be updated? Won't the compiler already simplify such expressions (just concerned that the use-sites may be come less legible)

Also, for future source code readers, you may want a comment at the definition site of the enum that it is a regular (exclusive) enum and not some kind of flags/bit-field type thing.


https://reviews.llvm.org/D27145





More information about the llvm-commits mailing list