diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2023-11-13 22:41:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 22:41:37 +0800 |
commit | dc6d0773960c664eee12a1ed871fad5c81a20a12 (patch) | |
tree | 2234cb8b6458196f3669d928dc9a85bf3e26d63f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f054947c0da99ec8b3c4bb043e5225672420a313 (diff) | |
download | llvm-dc6d0773960c664eee12a1ed871fad5c81a20a12.zip llvm-dc6d0773960c664eee12a1ed871fad5c81a20a12.tar.gz llvm-dc6d0773960c664eee12a1ed871fad5c81a20a12.tar.bz2 |
[CVP] Infer nneg on existing zext (#72052)
This patch infers `nneg` flags for existing zext instructions in CVP.
After https://github.com/llvm/llvm-project/pull/71534 and this patch, we
can drop `zext -> zext nneg` transform in `RISCVCodeGenPrepare`:
https://github.com/llvm/llvm-project/blob/40671bbdefb6ff83e2685576a3cb041b62f25bbe/llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp#L74-L83
This is an alternative to #72049.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions