[all-commits] [llvm/llvm-project] 2fb3c9: [StackSafetyAnalysis] Don't call getTruncateOrZero...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Jan 30 02:21:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fb3c9b90394013d4a3222619cd1d6173c104741
      https://github.com/llvm/llvm-project/commit/2fb3c9b90394013d4a3222619cd1d6173c104741
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    A llvm/test/Analysis/StackSafetyAnalysis/extend-ptr.ll

  Log Message:
  -----------
  [StackSafetyAnalysis] Don't call getTruncateOrZeroExtend for pointers of different sizes (#79804)

Otherwise SCEV asserts `Can't extend pointer!`

Fixes SWDEV-442670




More information about the All-commits mailing list