[llvm] [LangRef] Require that vscale be a power of two (PR #145098)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 13:28:15 PDT 2025


================
@@ -4660,7 +4660,6 @@ bool SelectionDAG::isKnownToBeAPowerOfTwo(SDValue Val, unsigned Depth) const {
 
   // vscale(power-of-two) is a power-of-two for some targets
----------------
nikic wrote:

```suggestion
  // vscale(power-of-two) is a power-of-two
```

https://github.com/llvm/llvm-project/pull/145098


More information about the llvm-commits mailing list