[PATCH] D105918: [SelectionDAG][RISCV] Use isSExtCheaperThanZExt to control whether sext or zext is used for constant folding any_extend.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 16 09:45:22 PDT 2021


craig.topper updated this revision to Diff 359363.
craig.topper added a comment.

Rebase tests. Drop commentary about the hook from the source code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105918/new/

https://reviews.llvm.org/D105918

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/alu32.ll
  llvm/test/CodeGen/RISCV/rv64zbb-zbp.ll
  llvm/test/CodeGen/RISCV/xaluo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105918.359363.patch
Type: text/x-patch
Size: 10526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210716/f9882a37/attachment.bin>


More information about the llvm-commits mailing list