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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 06:01:20 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/Analysis/TargetTransformInfo.cpp:766
+            break;
+        }
       }
----------------
Just realised that this doesn't set AllPow2 = AllNegPow2 = false if its not ConstantInt - will fix this in the commit.


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