[PATCH] D149939: [NFC][ValueTracking] Hoist isValidAssumeForContext out of switch

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 01:45:32 PDT 2023


mkazantsev created this revision.
mkazantsev added reviewers: arsenm, goldstein.w.n, nikic, craig.topper.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
mkazantsev requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

There is a lot of copy-paste-ish checks while this can be done once.


https://reviews.llvm.org/D149939

Files:
  llvm/lib/Analysis/ValueTracking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149939.519768.patch
Type: text/x-patch
Size: 8425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/57442652/attachment.bin>


More information about the llvm-commits mailing list