[all-commits] [llvm/llvm-project] 23b320: [POWERPC] Fixes an error in the handling of the MT...

zhijian lin via All-commits all-commits at lists.llvm.org
Wed Aug 6 06:36:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23b320311364f1bc1249500c7542d077d70098bf
      https://github.com/llvm/llvm-project/commit/23b320311364f1bc1249500c7542d077d70098bf
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2025-08-06 (Wed, 06 Aug 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/mtvsrbmi.ll

  Log Message:
  -----------
  [POWERPC] Fixes an error in the handling of the MTVSRBMI instruction for big-endian  (#151565)

The patch fixed a bug introduced patch [[PowePC] using MTVSRBMI
instruction instead of constant pool in
power10+](https://github.com/llvm/llvm-project/pull/144084#top).

The issue arose because the layout of vector register elements differs
between little-endian and big-endian modes — specifically, the elements
appear in reverse order. This led to incorrect behavior when loading
constants using MTVSRBMI in big-endian configurations.



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