[PATCH] D127205: [LoongArch 5/n] Use register R0 (ZERO) for constant 0

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 19:08:19 PDT 2022


SixWeining updated this revision to Diff 435766.
SixWeining added a comment.

1. Address @MaskRay's comment by moving imm0 testing to the top of the test file.
2. Remove the patch number in the title.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127205

Files:
  llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
  llvm/test/CodeGen/LoongArch/imm.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/fcmp-dbl.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/fcmp-flt.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/sext-zext-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127205.435766.patch
Type: text/x-patch
Size: 11162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220610/f1b6bef2/attachment.bin>


More information about the llvm-commits mailing list