[PATCH] D111968: [TTI] Add OperandValueProperties::OP_NegatedPowerOf2 enum

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 05:06:50 PDT 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Analysis/TargetTransformInfo.cpp:693
       OpInfo = OK_UniformConstantValue;
       if (auto *CI = dyn_cast<ConstantInt>(Splat))
         if (CI->getValue().isPowerOf2())
----------------
This could do with brackets now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111968/new/

https://reviews.llvm.org/D111968



More information about the llvm-commits mailing list