diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2023-10-17 10:39:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 10:39:59 +0200 |
commit | 0841955bf3b79a33091333aba9a3157be72b535c (patch) | |
tree | ec3dbdd7b5f66de439480731cb73e0ba793c03dd /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 11f5e5eb90c883d4b9ddba318e8fc57914b22ef3 (diff) | |
download | llvm-0841955bf3b79a33091333aba9a3157be72b535c.zip llvm-0841955bf3b79a33091333aba9a3157be72b535c.tar.gz llvm-0841955bf3b79a33091333aba9a3157be72b535c.tar.bz2 |
[TableGen] Use buildConstant to emit apply pattern immediates (#66077)
Use `MachineIRBuilder::buildConstant` to emit typed immediates in
'apply' MIR patterns.
This adds flexibility, e.g. it allows us to seamlessly handle vector
cases, where a `G_BUILD_VECTOR` is needed to create a splat.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions