aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-05-19 11:06:02 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-05-19 11:06:09 +0100
commite0217ee7829cf49bc0caa8b814f6acc4c4b0836d (patch)
tree518cebfd2bbc594ff2fa085ecceb895eef6d99bb /clang/lib/CodeGen/CodeGenModule.cpp
parent7fc524fe080a69e79bd1ce8925e680350b7e9d44 (diff)
downloadllvm-e0217ee7829cf49bc0caa8b814f6acc4c4b0836d.zip
llvm-e0217ee7829cf49bc0caa8b814f6acc4c4b0836d.tar.gz
llvm-e0217ee7829cf49bc0caa8b814f6acc4c4b0836d.tar.bz2
[DAG] canCreateUndefOrPoison - only compute extract/index vector elt index knownbits when not poison
We were calling computeKnownBits to determine the bounds of the element index without ensuring that it wasn't poison, meaning if we did freeze the index, isGuaranteedNotToBeUndefOrPoison would then fail as we can't call computeKnownBits through FREEZE for potentially poison values. Fixes #92569
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions