aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-03 21:10:00 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-06 20:41:37 +0100
commita6df39236fdc6e422f6794935e5e08e05f566e23 (patch)
treef607fb530fd03b985290fdea2cd6face8d127a0a /llvm/lib/Bitcode/Reader/BitReader.cpp
parent8f9da24fa7fffd52ccc2c66e3e2c1e7e87ed0336 (diff)
downloadllvm-a6df39236fdc6e422f6794935e5e08e05f566e23.zip
llvm-a6df39236fdc6e422f6794935e5e08e05f566e23.tar.gz
llvm-a6df39236fdc6e422f6794935e5e08e05f566e23.tar.bz2
[InstSimplify] Fold out-of-bounds shift to poison
Make InstSimplify return poison rather than undef for out-of-bounds shifts, as specified by LandRef: > If op2 is (statically or dynamically) equal to or larger than the > number of bits in op1, this instruction returns a poison value. Differential Revision: https://reviews.llvm.org/D93998
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions