[PATCH] D98821: [RISCV] Improve 64-bit integer materialization for some cases.
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 1 05:00:00 PDT 2021
asb accepted this revision.
asb added a comment.
This revision is now accepted and ready to land.
LGTM, left a couple of nits on comment typos. Thanks!
================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp:88
+ Val <<= ShiftAmount;
+ // Fill in the bits that will be shifted out with 1s. And example where
+ // this helps is trailing one masks with 32 or more ones. This will generate
----------------
"And example" => "An example"
================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.h:29
// immediate value into a register. A sequence of instructions represented by
// a simple struct produced rather than directly emitting the instructions in
// order to allow this helper to be used from both the MC layer and during
----------------
Pre-existing typo you might fix while editing this: "produced" => "is produced".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98821/new/
https://reviews.llvm.org/D98821
More information about the llvm-commits
mailing list