[MSAN] Replace another open-coded convertToBool instance [nfc]
authorPhilip Reames <preames@rivosinc.com>
Wed, 15 Mar 2023 17:15:17 +0000 (10:15 -0700)
committerPhilip Reames <listmail@philipreames.com>
Wed, 15 Mar 2023 17:24:49 +0000 (10:24 -0700)
commite3dac9e93fa5ce04f2be2900c352592940cdeee9
treee3b389255f550a1479fc2b3cc926feb1acb0e322
parent75e22e8699eff6dd142bde6c56ecfef7abc0a0d3
[MSAN] Replace another open-coded convertToBool instance [nfc]

Note that getCleanShadow always returns Constant::getNullValue so the prior code is equivalent to convertToBool.
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp