[TTI] Recognize fp constants in getOperandInfo
authorPhilip Reames <preames@rivosinc.com>
Wed, 21 Sep 2022 21:33:04 +0000 (14:33 -0700)
committerPhilip Reames <listmail@philipreames.com>
Wed, 21 Sep 2022 21:34:34 +0000 (14:34 -0700)
commit8c46881a5386ebbe273d15d6a9d369885c2460a9
tree4f250da129d66838ba90ac2bbe81c93d8501dcdb
parente078dd5342b0fd0cf6959eec9803ce234c6762fa
[TTI] Recognize fp constants in getOperandInfo

We were recognizing vectors of floats, but not scalars.  That's a tad odd.
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll