[all-commits] [llvm/llvm-project] e19884: Introduce a generic operator to apply complex oper...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Tue Mar 23 06:23:55 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e19884cd7462ecba5eb569cdfb0efa4be58b07ff
https://github.com/llvm/llvm-project/commit/e19884cd7462ecba5eb569cdfb0efa4be58b07ff
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2021-03-23 (Tue, 23 Mar 2021)
Changed paths:
M llvm/include/llvm/ADT/BitVector.h
M llvm/lib/CodeGen/CFIInstrInserter.cpp
M llvm/unittests/ADT/BitVectorTest.cpp
Log Message:
-----------
Introduce a generic operator to apply complex operations to BitVector
This avoids temporary and memcpy call when computing large expressions.
It's basically some kind of poor man's expression template, but it seems easier
to maintain to have a single generic `apply` call instead of the whole
expression template machinery here.
Differential Revision: https://reviews.llvm.org/D98176
More information about the All-commits
mailing list