[PATCH] D52803: [GISel]: Add support for CSEing continuously during GISel passes

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 19 18:23:32 PDT 2018


aditya_nandakumar updated this revision to Diff 170287.
aditya_nandakumar marked 4 inline comments as done.
aditya_nandakumar added a comment.
Herald added subscribers: arphaman, nhaehnle, jvesely, arsenm.

Addressed feedback from Daniel and Amara.
Added a RAIIDelegateInstaller that can be used to explicitly install and uninstall the CSEInfo delegate in the legalizer.


Repository:
  rL LLVM

https://reviews.llvm.org/D52803

Files:
  include/llvm/CodeGen/GlobalISel/CSEInfo.h
  include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
  include/llvm/CodeGen/GlobalISel/Combiner.h
  include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  include/llvm/CodeGen/GlobalISel/CombinerInfo.h
  include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
  include/llvm/CodeGen/GlobalISel/GISelWorkList.h
  include/llvm/CodeGen/GlobalISel/IRTranslator.h
  include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  include/llvm/CodeGen/GlobalISel/RegBankSelect.h
  include/llvm/CodeGen/GlobalISel/Utils.h
  include/llvm/CodeGen/SlotIndexes.h
  include/llvm/InitializePasses.h
  include/llvm/Support/LowLevelTypeImpl.h
  lib/Analysis/VectorUtils.cpp
  lib/CodeGen/GlobalISel/CMakeLists.txt
  lib/CodeGen/GlobalISel/CSEInfo.cpp
  lib/CodeGen/GlobalISel/Combiner.cpp
  lib/CodeGen/GlobalISel/CombinerHelper.cpp
  lib/CodeGen/GlobalISel/IRTranslator.cpp
  lib/CodeGen/GlobalISel/Legalizer.cpp
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  lib/CodeGen/GlobalISel/RegBankSelect.cpp
  lib/CodeGen/GlobalISel/Utils.cpp
  lib/Target/AArch64/AArch64InstructionSelector.cpp
  lib/Target/AArch64/AArch64LegalizerInfo.cpp
  lib/Target/AArch64/AArch64LegalizerInfo.h
  lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/ARM/ARMLegalizerInfo.cpp
  lib/Target/ARM/ARMLegalizerInfo.h
  lib/Target/X86/X86FastISel.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
  test/CodeGen/AArch64/GlobalISel/legalize-add.mir
  test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
  test/CodeGen/AArch64/GlobalISel/legalize-div.mir
  test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
  test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
  test/CodeGen/AArch64/GlobalISel/legalize-rem.mir
  test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
  test/CodeGen/AArch64/GlobalISel/legalize-simple.mir
  test/CodeGen/AArch64/O0-pipeline.ll
  test/CodeGen/AMDGPU/add_i1.ll
  test/CodeGen/AMDGPU/sub_i1.ll
  test/CodeGen/X86/GlobalISel/legalize-add.mir
  test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-sub.mir
  test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
  test/Transforms/LoopVectorize/intrinsic.ll
  test/Transforms/Scalarizer/intrinsics.ll
  tools/llvm-exegesis/lib/Assembler.cpp
  unittests/CodeGen/GlobalISel/CMakeLists.txt
  unittests/CodeGen/GlobalISel/CSETest.cpp
  unittests/CodeGen/GlobalISel/GISelMITest.h
  unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
  unittests/CodeGen/GlobalISel/LegalizerHelperTest.h
  unittests/CodeGen/GlobalISel/PatternMatchTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52803.170287.patch
Type: text/x-patch
Size: 124597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181020/2a3bde72/attachment-0001.bin>


More information about the llvm-commits mailing list