diff options
author | Luke Lau <luke@igalia.com> | 2024-03-27 15:23:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 15:23:34 +0800 |
commit | 6d13263d4a723689d025423562269ea6ccb6bfc2 (patch) | |
tree | 7f3243fc977a522614522671410cee242ba59b63 /llvm/lib/Object/COFFImportFile.cpp | |
parent | aa2d5d54130bd9c5e9efb9ae3eaec631f227f13b (diff) | |
download | llvm-6d13263d4a723689d025423562269ea6ccb6bfc2.zip llvm-6d13263d4a723689d025423562269ea6ccb6bfc2.tar.gz llvm-6d13263d4a723689d025423562269ea6ccb6bfc2.tar.bz2 |
[RISCV] Add tests for combineBinOpOfZExts. NFC (#86689)
Unlike add, sub and mul, we don't have widening instructions for div,
rem and logical ops, so we don't have any test coverage if we were to
extend combineBinOpOfZExts to handle them.
Adding tests coincidentally revealed that logical ops are already
narrowed as a generic DAG combine via
DAGCombiner::hoistLogicOpWithSameOpcodeHands. So we don't actually need
to run combineBinOpOfZExts on them.
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions