aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2025-05-13 11:33:07 +0100
committerGitHub <noreply@github.com>2025-05-13 11:33:07 +0100
commit49ee674e5de272e9a1f439d37533646f63933594 (patch)
tree65daf1958a2d845bc8ee029ae41b2da93902a629 /clang/lib/CodeGen/CodeGenModule.cpp
parent7866c4091eb3badd8e0f145a200c8a3d11849ef5 (diff)
downloadllvm-49ee674e5de272e9a1f439d37533646f63933594.zip
llvm-49ee674e5de272e9a1f439d37533646f63933594.tar.gz
llvm-49ee674e5de272e9a1f439d37533646f63933594.tar.bz2
[NFC][LLVM][CodeGen][X86] Add ConstantInt/FP based vector support to MachineInstr fixup and printing code. (#137331)
When -use-constant-{int,fp}-for-fixed-length-splat are enabled, constant vector splats take the form of ConstantInt/FP instead of ConstantVector. These constants get linked to MachineInstrs via constant pools for later processing. The processing assumes ConstantInt/FP to always represent scalar constants with this PR extending the code to support vector types. NOTE: The test choices are somewhat artificial because pretty much all the vector tests failed without these changes when the new constants are enabled. --------- Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions