Fix bug introduced with 6f34839 (poison flags on floating point ops)
authorPhilip Reames <listmail@philipreames.com>
Wed, 13 Oct 2021 03:23:22 +0000 (20:23 -0700)
committerPhilip Reames <listmail@philipreames.com>
Wed, 13 Oct 2021 03:25:00 +0000 (20:25 -0700)
commit4c5702cb123b8fd705982c638fb18c999f69d63a
treefc17606b11360becf1296d07b0c13e25c7d6f593
parenta54f4eae0e1d0ef5adccdcf9f6c2b518dc1101aa
Fix bug introduced with 6f34839 (poison flags on floating point ops)

The newly introduced API for checking whether poison comes solely from flags which can be dropped was out of sync.  This was noticed by a reviewer post commit.

For the moment, disable the floating point flags.  In a follow up change, I plan to add support in dropPoisonGeneratingFlags, but that deserves to be a change of it's own.
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstCombine/freeze.ll