[all-commits] [llvm/llvm-project] 718377: [InitUndef] Also handle inline asm (#108951)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 19 00:59:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7183771834d9035ffbedd8f1ff9233b16722b986
      https://github.com/llvm/llvm-project/commit/7183771834d9035ffbedd8f1ff9233b16722b986
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/InitUndef.cpp
    M llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
    M llvm/test/CodeGen/Thumb2/mve-intrinsics/vcaddq.ll

  Log Message:
  -----------
  [InitUndef] Also handle inline asm (#108951)

InitUndef should also handle early-clobber / undef conflicts in inline
asm operands. Do this by iterating over all_defs() instead of defs().

The newly added ARM test was generating an "unpredictable STXP instruction,
status is also a source" error prior to this change.

Fixes https://github.com/llvm/llvm-project/issues/106380.



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