[all-commits] [llvm/llvm-project] 1f5ee8: [LVI] Don't return optional from getEdgeValueLocal...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Dec 12 06:32:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f5ee8078958338e1ad320704b8b658c399c2236
https://github.com/llvm/llvm-project/commit/1f5ee8078958338e1ad320704b8b658c399c2236
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M llvm/lib/Analysis/LazyValueInfo.cpp
Log Message:
-----------
[LVI] Don't return optional from getEdgeValueLocal() (NFC)
The general convention inside LVI is that std::nullopt means that
a value has been pushed to the worklist. However, getEdgeValueLocal()
used it as an additional spelling for getOverdefined() instead.
More information about the All-commits
mailing list