diff options
author | David Green <david.green@arm.com> | 2025-10-03 20:16:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 20:16:08 +0100 |
commit | 119216ead189f9a695ab6361ab86d0121e765797 (patch) | |
tree | c1fade599c4b78a5a7743ffe107b289c1cb7aa09 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 8ae30a3facd25c9c7c2cfb96b69466a6c4d22baa (diff) | |
download | llvm-119216ead189f9a695ab6361ab86d0121e765797.zip llvm-119216ead189f9a695ab6361ab86d0121e765797.tar.gz llvm-119216ead189f9a695ab6361ab86d0121e765797.tar.bz2 |
[AArch64][GlobalISel] Use TargetConstant for shift immediates (#161527)
This changes the intrinsic definitions for shifts to use IntArg, which
in turn changes how the shifts are represented in SDAG to use
TargetConstant (and fixes up a number of ISel lowering places too). The
vecshift immediates are changed from ImmLeaf to TImmLeaf to keep them
matching the TargetConstant. On the GISel side the constant shift
amounts are then represented as immediate operands, not separate constants.
The end result is that this allows a few more patterns to match in GISel.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions