[SCEV] Ensure shift amount is in range before calling getZExtValue()
commit3736e1d1cd5c24b554a13e493c8614f458bdf123
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 22 Dec 2023 13:53:49 +0000 (22 13:53 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 22 Dec 2023 14:16:54 +0000 (22 14:16 +0000)
tree061c77d663a908b98b72a31ef2329974c8f5bed2
parentefeb546865c233dfa7706ee0316c676de9f69897
[SCEV] Ensure shift amount is in range before calling getZExtValue()

Fixes #76234
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/pr76234.ll [new file with mode: 0644]