[PATCH] D157923: [llvm][NFC] Refactor AutoUpdater experimental case

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 14:55:49 PDT 2023


urnathan created this revision.
urnathan added reviewers: arsenm, nikic.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
urnathan requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Containing overhaul of the AutoUpdater intrinsic detector, here's the 'e' case.

It's more efficient to gate on the prefix, before diving into more specificity.  Also, the regexps weren't consistent about escaping '.', so could trigger on unintended (and weird) cases.

Matt, thanks for pointing out consume_front!, Nikita, thanks for your guidance too!


https://reviews.llvm.org/D157923

Files:
  llvm/lib/IR/AutoUpgrade.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157923.550099.patch
Type: text/x-patch
Size: 5381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/8d40bf6d/attachment.bin>


More information about the llvm-commits mailing list