aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorAntonio Frighetto <me@antoniofrighetto.com>2023-11-07 14:04:21 +0100
committerAntonio Frighetto <me@antoniofrighetto.com>2023-11-07 14:15:32 +0100
commitcaa124b58d9f59b36ec751c98ca1bd1d1ceb0a73 (patch)
tree1ed5399d87bcef42b9621b72e0d209b9aad6b7de /llvm/lib/CodeGen/StackProtector.cpp
parent16ef4968dc9e93f9c7b361b9ad0645445bd1210e (diff)
downloadllvm-caa124b58d9f59b36ec751c98ca1bd1d1ceb0a73.zip
llvm-caa124b58d9f59b36ec751c98ca1bd1d1ceb0a73.tar.gz
llvm-caa124b58d9f59b36ec751c98ca1bd1d1ceb0a73.tar.bz2
[InstCombine] Zero-extend shift amounts in narrow funnel shift ops
An issue arose when handling shift amounts while performing narrowed funnel shifts simplification. Specifically, shift amounts were incorrectly truncated when their type was narrower than the target bit width. This has been addressed by zero-extending `ShAmt` in such cases. Fixes: https://github.com/llvm/llvm-project/issues/71463. Proof: https://alive2.llvm.org/ce/z/5draKz.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions