[all-commits] [llvm/llvm-project] f0660a: [Local] collectBitParts - bail out if we find more...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat May 15 06:01:43 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0660a977e6822ae68e4c88641d1909b555f0e05
https://github.com/llvm/llvm-project/commit/f0660a977e6822ae68e4c88641d1909b555f0e05
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-05-15 (Sat, 15 May 2021)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[Local] collectBitParts - bail out if we find more than one root input value.
All the uses that we have for collectBitParts revolve around us matching down to an operation with a single root value - I don't think we're intending to change that (and a lot of collectBitParts assumes it).
The binops cases (OR/FSHL/FSHR) already check if the providers are the same, but that would still mean we waste time collecting through unaryops before getting to them.
More information about the All-commits
mailing list