[all-commits] [llvm/llvm-project] d77c5c: [LoongArch] Make sure that the LoongArchISD::BSTRI...

wanglei via All-commits all-commits at lists.llvm.org
Tue Mar 12 21:56:36 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d77c5c3830d925b3795e2f1535a6568399fe6626
      https://github.com/llvm/llvm-project/commit/d77c5c3830d925b3795e2f1535a6568399fe6626
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/bstrins_w.ll

  Log Message:
  -----------
  [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct `MSB` value (#84454)

The `MSB` must not be greater than `GRLen`. Without this patch, newly
added test cases will crash with LoongArch32, resulting in a 'cannot
select' error.

(cherry picked from commit edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list