[PATCH] D45063: Do not use template for check{Int, UInt, IntUInt, Alignment}.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 14:07:21 PDT 2018


espindola added a comment.

The nice thing about the template parameters is that it forces the compiler to see the constant value.

It is quite possible that gcc and clang optimize this, but we have to benchmark.


https://reviews.llvm.org/D45063





More information about the llvm-commits mailing list