[all-commits] [llvm/llvm-project] 3ea142: [CodeGen] Add back setOperationAction/setLoadExtAc...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Jun 18 05:02:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e
https://github.com/llvm/llvm-project/commit/3ea1422362c619c8ea7cba3e92aa716fa0c0cc5e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-06-18 (Sat, 18 Jun 2022)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
Log Message:
-----------
[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.
More information about the All-commits
mailing list