[all-commits] [llvm/llvm-project] 3f162e: [SCEVExpander] Assert single pointer op in add (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Aug 29 11:31:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f162e8e6da14726c7666f5c935c503fcb784a41
https://github.com/llvm/llvm-project/commit/3f162e8e6da14726c7666f5c935c503fcb784a41
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-08-29 (Sun, 29 Aug 2021)
Changed paths:
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Log Message:
-----------
[SCEVExpander] Assert single pointer op in add (NFC)
There can only be one pointer operand in an add expression, and
we have sorted operands to guarantee that it is the first. As
such, the pointer check for other operands is dead code.
More information about the All-commits
mailing list