[all-commits] [llvm/llvm-project] 242605: [RISCV] Add more zext nneg tests. NFC
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Feb 19 11:13:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2426055a64e43c5d9126b191ee9836710a223d75
https://github.com/llvm/llvm-project/commit/2426055a64e43c5d9126b191ee9836710a223d75
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/sext-zext-trunc.ll
Log Message:
-----------
[RISCV] Add more zext nneg tests. NFC
This adds additional tests for #82199.
These tests need us to propagate the nneg flag when we zero/sign
extend an existing zext nneg node. For these tests on RV64, call
lowering will need to sign extend or zero extend the existing zext
nneg to i64. getNode will fold this into a single zext. We should
propagate the nneg flag from the original zext nneg. This will allow
us to remove the zext nneg based on known sign bits during DAG combine.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list