diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-06-18 13:01:59 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-06-18 13:02:05 +0100 |
commit | 3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e (patch) | |
tree | 2b5256a2109af2b773c2bfe71164008b15016add /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 6e070c3c9101ac7b7a3736021bff98e9a1f5a362 (diff) | |
download | llvm-3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e.zip llvm-3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e.tar.gz llvm-3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e.tar.bz2 |
[CodeGen] Add back setOperationAction/setLoadExtAction/setLibcallName single opcode variants
The work to add ArrayRef helpers (D122557, D123467 etc.) to the TargetLowering::set* methods resulted in all the single opcode calls to these methods being cast to single element ArrayRef on the fly - resulting in a scary >5x increase in build time (identified with vcperf) on MSVC release builds of most of the TargetLowering/ISelLowering files.
This patch adds the back the single opcode variants to various set*Action calls to avoid this issue for now, and updates the ArrayRef helpers to wrap them - I'm still investigating whether the single element ArrayRef build times can be improved.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions