[all-commits] [llvm/llvm-project] b77be0: [RISCV] Be more explicit string replacements in RI...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Feb 22 13:00:52 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b77be0bd54685df284d5e66f8c54fb3b5437a0eb
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

  Log Message:
  [RISCV] Be more explicit string replacements in RISCVInstrInfoVPseudos.td. NFC

Instead of replacing "F16", "F32", "F64" anywhere in the string.
Only replace them when proceeded by a "_", "_V", or "_W".

This allows F16/F32/F64 to appear in the instruction name.
This is needed for some vendor instructions in our downstream. We
may be upstreaming them in the future.

More information about the All-commits mailing list