diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-02-08 14:01:38 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-02-08 16:35:13 +0000 |
commit | b846613837d83989d99d33f4b90db7bad019aa8c (patch) | |
tree | f087e5b8aa78044e134659e0134254b69741cfe5 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 7d19dc50de2c81ead6af750bcddd139ac99a48b5 (diff) | |
download | llvm-b846613837d83989d99d33f4b90db7bad019aa8c.zip llvm-b846613837d83989d99d33f4b90db7bad019aa8c.tar.gz llvm-b846613837d83989d99d33f4b90db7bad019aa8c.tar.bz2 |
[X86] X86FixupVectorConstants - add destination register width to rebuildSplatCst/rebuildZeroUpperCst/rebuildExtCst callbacks
As found on #81136 - we aren't correctly handling for cases where the constant pool entry is wider than the destination register width, causing incorrect scaling of the truncated constant for load-extension cases.
This first patch just pulls out the destination register width argument, its still currently driven by the constant pool entry but that will be addressed in a followup.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions