aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2025-01-08 10:58:37 -0800
committerGitHub <noreply@github.com>2025-01-08 10:58:37 -0800
commit983a957768c56d71ca710ff43eab4515e47f7d2c (patch)
treec60a0f1541b27e574a56ce46b9f0acc014783417 /clang/lib/CodeGen/CodeGenModule.cpp
parent0b722de4a57f6dfc032bb7ab6b101b4e05bf8e72 (diff)
downloadllvm-983a957768c56d71ca710ff43eab4515e47f7d2c.zip
llvm-983a957768c56d71ca710ff43eab4515e47f7d2c.tar.gz
llvm-983a957768c56d71ca710ff43eab4515e47f7d2c.tar.bz2
[RISCV][VLOpt] Consolidate EMUL=SEW/EEW*LMUL logic [NFC] (#122021)
All but one of the cases in tree today have EMUL=SEW/EEW*LMUL. Repeating this each time is verbose and introduces oppurtunity for error. (For instance, the comment associated with vwmul.vv was out of sync with the code for same.) Introduce getOperandLog2EEW and move most complexity to it. Then introduce getOperandInfo as a wrapper around previous, and special case the one case which requires it. --------- Co-authored-by: Luke Lau <luke_lau@icloud.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions