[PATCH] D105100: [NFC] Add new setDebugLocFromInst that uses the class Builder

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 29 03:40:22 PDT 2021


david-arm created this revision.
david-arm added reviewers: sdesmalen, bsmith, c-rhodes, gilr, kmclaughlin.
Herald added a subscriber: hiraditya.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In lots of places we were calling setDebugLocFromInst and passing
in the Builder member variable found in InnerLoopVectorizer. It
seemed neater to simply create a new wrapper function that doesn't
require a IRBuilder argument and just uses the class member instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105100

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105100.355170.patch
Type: text/x-patch
Size: 6488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210629/2eb0a511/attachment.bin>


More information about the llvm-commits mailing list