[PATCH] D148703: [CodeGen] Refactor IR generation functions to use IRBuilder in ComplexDeinterleaving pass

Igor Kirillov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 03:27:53 PDT 2023


igor.kirillov created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
igor.kirillov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch updates several functions in LLVM's IR generation code to accept
an IRBuilder object as an argument, rather than an Instruction that indicates
the insertion point for new instructions.
This change is necessary to handle sophisticated -Ofast optimization cases
from D148558 <https://reviews.llvm.org/D148558> where it's unclear which instructions should be used as the
insertion point for new operations.

Depends on D148550 <https://reviews.llvm.org/D148550>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148703

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/test/CodeGen/AArch64/complex-deinterleaving-mixed-cases.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148703.514890.patch
Type: text/x-patch
Size: 9054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/71e00663/attachment.bin>


More information about the llvm-commits mailing list