diff options
author | Paul Walker <paul.walker@arm.com> | 2024-05-14 15:52:07 +0000 |
---|---|---|
committer | Paul Walker <paul.walker@arm.com> | 2024-05-17 10:37:26 +0000 |
commit | 37c6b9ff7245a76056ca3363bdef4e593e7e6c9d (patch) | |
tree | e8378620e8671c3c36b2aac82f450332fec7c602 /llvm/lib/IR/ConstantFold.cpp | |
parent | 4349ffb3fa268dba180b7c65fdce20a0be60272b (diff) | |
download | llvm-37c6b9ff7245a76056ca3363bdef4e593e7e6c9d.zip llvm-37c6b9ff7245a76056ca3363bdef4e593e7e6c9d.tar.gz llvm-37c6b9ff7245a76056ca3363bdef4e593e7e6c9d.tar.bz2 |
[NFC][LLVM] Mainly whitespace changes.
Also marks AliasSetTracker::size() as const.
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
-rw-r--r-- | llvm/lib/IR/ConstantFold.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/ConstantFold.cpp b/llvm/lib/IR/ConstantFold.cpp index a766b1f..4622ad7 100644 --- a/llvm/lib/IR/ConstantFold.cpp +++ b/llvm/lib/IR/ConstantFold.cpp @@ -542,6 +542,7 @@ Constant *llvm::ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2, } else if (!MaskEltCount.isScalable()) return ConstantVector::getSplat(MaskEltCount, Elt); } + // Do not iterate on scalable vector. The num of elements is unknown at // compile-time. if (isa<ScalableVectorType>(V1VTy)) |