diff options
author | Lei Huang <lei@ca.ibm.com> | 2025-10-06 11:46:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-06 11:46:15 -0400 |
commit | e9f3be63d3928b24f3667d8aaadfbee9d325015f (patch) | |
tree | aa8c602e89d1f509ae491079edee2a10ac32ba73 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1cc9a8c1272f428edcd4caf871cb66f973f4c13e (diff) | |
download | llvm-e9f3be63d3928b24f3667d8aaadfbee9d325015f.zip llvm-e9f3be63d3928b24f3667d8aaadfbee9d325015f.tar.gz llvm-e9f3be63d3928b24f3667d8aaadfbee9d325015f.tar.bz2 |
[NFC][PowerPC] Cleanup isImm and getImmEncoding functions (#161567)
Refactor and replace explicit Imm `getImm*Encodng() | isU*Imm() |
isS*Imm()` functions to a generic one that takes a template.
This is in prep for followup batch to implement `paddis` which takes a
pcrel Imm == 32bits. Doing this
refactor so we don't have to copy and paste the same set of functions
again with only the bit length changes.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions