[all-commits] [llvm/llvm-project] eca62f: [LoongArch] Diagnose the behavior of reading and w...

Gong LingQin via All-commits all-commits at lists.llvm.org
Wed Nov 23 18:42:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eca62f92045ca8d2896a1e2ee2113056a13596ef
      https://github.com/llvm/llvm-project/commit/eca62f92045ca8d2896a1e2ee2113056a13596ef
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    A llvm/test/CodeGen/LoongArch/get-reg-error-la32.ll
    A llvm/test/CodeGen/LoongArch/get-reg-error-la64.ll

  Log Message:
  -----------
  [LoongArch] Diagnose the behavior of reading and writing registers that do not conform to the hardware register size

When reading or writing a register that does not conform to the size of a
hardware register, an error message is generated instead of a compiler crash.

Differential Revision: https://reviews.llvm.org/D138008




More information about the All-commits mailing list