[llvm] [StackSafetyAnalysis] Don't call getTruncateOrZeroExtend for pointers of different sizes (PR #79804)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 14:05:54 PST 2024


fmayer wrote:

>From the presubmit bot, seems the assertion is not valid:

```
clang: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tdgkv-1/llvm-project/github-pull-requests/llvm/lib/Analysis/StackSafetyAnalysis.cpp:283: const SCEV *(anonymous namespace)::StackSafetyLocalAnalysis::getSCEVAsPointer(Value *): Assertion `ValTy->isPointerTy()' failed.
```

https://github.com/llvm/llvm-project/pull/79804


More information about the llvm-commits mailing list