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

wanglei via All-commits all-commits at lists.llvm.org
Sun Mar 10 17:59:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
      https://github.com/llvm/llvm-project/commit/edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-03-11 (Mon, 11 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.



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