[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
Sun Nov 27 22:43:15 PST 2016


grandinj added a comment.

wow, that is neat. 
I wonder if it would be legal to teach the compiler to do this if both sides of the expression were enum values of the same type (or possibly more legal if they were scoped enums) ?


https://reviews.llvm.org/D27145





More information about the llvm-commits mailing list