diff options
author | Richard Smith <richard@metafoo.co.uk> | 2022-12-12 16:39:14 -0800 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2022-12-12 17:09:26 -0800 |
commit | 5982b0b0b84296e34057a777e3d51e10fcd8abc7 (patch) | |
tree | 7c0b132590c6b0f93b1c24256d98b1bb9c64e837 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | e6d925bc4bb5162fa575003bfff29e4473079f80 (diff) | |
download | llvm-5982b0b0b84296e34057a777e3d51e10fcd8abc7.zip llvm-5982b0b0b84296e34057a777e3d51e10fcd8abc7.tar.gz llvm-5982b0b0b84296e34057a777e3d51e10fcd8abc7.tar.bz2 |
Add missing check for constant evaluation of a comparison of a pointer
to member naming a weak member to nullptr.
This fixes a miscompile where constant evaluation would incorrectly
determine that a weak member function pointer is never null.
In passing, also improve the diagnostics for constant evaluation of some
nearby cases.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions