[all-commits] [llvm/llvm-project] 842a33: [NVPTX] Fix DwarfFrameBase construction (#101000)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 29 13:46:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 842a332f11f53c698fa0560505e533ecdca28876
      https://github.com/llvm/llvm-project/commit/842a332f11f53c698fa0560505e533ecdca28876
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp

  Log Message:
  -----------
  [NVPTX] Fix DwarfFrameBase construction (#101000)

The `{0}` here was initializing the first union member `Register`,
rather than the union member used by CFA, which is `Offset`. Prior to
https://github.com/llvm/llvm-project/pull/99263 this was harmless, but
now they have different layout, leading to test failures on some
platforms (at least i686 and s390x).



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