[all-commits] [llvm/llvm-project] 68c906: [ValueTracking] Replace an always false condition ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Feb 9 15:19:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68c906811bcb1edfc1a4c73e0fcadb51f7f3e8e3
https://github.com/llvm/llvm-project/commit/68c906811bcb1edfc1a4c73e0fcadb51f7f3e8e3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-02-09 (Thu, 09 Feb 2023)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] Replace an always false condition with an assert. NFC
The one caller of this function already checked that V isn't a
Constant.
Alternatively, we could remove the check from the caller if reviewers
prefer.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D143677
More information about the All-commits
mailing list