aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantFold.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-05-28 11:07:21 +0200
committerNikita Popov <npopov@redhat.com>2024-05-28 11:14:07 +0200
commit4d3284cadfa0dc9850d58b97e943481a30c39c1b (patch)
tree32053056203e2ed47f3ada696e0c2f04c3ad7b4f /llvm/lib/IR/ConstantFold.cpp
parent8a395b00b85ad64a56a9c65055cc9a26a9499a8d (diff)
downloadllvm-4d3284cadfa0dc9850d58b97e943481a30c39c1b.zip
llvm-4d3284cadfa0dc9850d58b97e943481a30c39c1b.tar.gz
llvm-4d3284cadfa0dc9850d58b97e943481a30c39c1b.tar.bz2
[ConstFold] Add test for incorrect gep inbounds of undef fold (NFC)
If the offset is zero, then returning poison here is not correct.
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions