[all-commits] [llvm/llvm-project] a1daa7: Avoid std::tie in TypeSize.h
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Fri Jan 31 17:02:06 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a1daa7d079aa86589ac7e73e818d4ab95969275f
https://github.com/llvm/llvm-project/commit/a1daa7d079aa86589ac7e73e818d4ab95969275f
Author: Reid Kleckner <rnk at google.com>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M llvm/include/llvm/Support/TypeSize.h
Log Message:
-----------
Avoid std::tie in TypeSize.h
std::tie isn't saving much here, just use == && ==. No numbers to
support this, but std::tie is one of the most expensive instantiations.
More information about the All-commits
mailing list