[all-commits] [llvm/llvm-project] 3bf7d4: [NFC][InstructionCost] Remove isValid() asserts in...
david-arm via All-commits
all-commits at lists.llvm.org
Mon Dec 21 01:17:38 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3bf7d47a977d463940f558259d24d43d76d50e6f
https://github.com/llvm/llvm-project/commit/3bf7d47a977d463940f558259d24d43d76d50e6f
Author: David Sherwood <david.sherwood at arm.com>
Date: 2020-12-21 (Mon, 21 Dec 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[NFC][InstructionCost] Remove isValid() asserts in SLPVectorizer.cpp
An earlier patch introduced asserts that the InstructionCost is
valid because at that time the ReuseShuffleCost variable was an
unsigned. However, now that the variable is an InstructionCost
instance the asserts can be removed.
See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html
See this patch for the introduction of the type:
https://reviews.llvm.org/D91174
More information about the All-commits
mailing list