diff options
author | annamthomas <anna@azul.com> | 2024-05-01 10:38:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 10:38:22 -0400 |
commit | 78270cb81bded99bebc6fd8d515bf7cbeff62db4 (patch) | |
tree | 3cce72584a89876d1a12c483c870c7cddd1e994c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | f050660f4a60415cd840f7fba7ac3698c38376d0 (diff) | |
download | llvm-78270cb81bded99bebc6fd8d515bf7cbeff62db4.zip llvm-78270cb81bded99bebc6fd8d515bf7cbeff62db4.tar.gz llvm-78270cb81bded99bebc6fd8d515bf7cbeff62db4.tar.bz2 |
[UndefOrPoison] [CompileTime] Avoid IDom walk unless required. NFC (#90092)
If the value is not boolean and we are checking for `Undef` or
`UndefOrPoison`, we can avoid the potentially expensive IDom walk.
This should improve compile time for isGuaranteedNotToBeUndefOrPoison
and isGuaranteedNotToBeUndef.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions