[PATCH] D39267: [GISel]: Change Legalization from top down to bottom up + DCE

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 16:41:50 PDT 2017


aditya_nandakumar updated this revision to Diff 120339.
aditya_nandakumar added a comment.
Herald added a subscriber: nhaehnle.

Updated X86,AMDGPU and part of as well.
Two large tests remain to be fixed -

  LLVM :: CodeGen/ARM/GlobalISel/arm-legalize-fp.mir
  LLVM :: CodeGen/ARM/GlobalISel/arm-legalizer.mir


https://reviews.llvm.org/D39267

Files:
  include/llvm/CodeGen/GlobalISel/LegalizerCombiner.h
  lib/CodeGen/GlobalISel/Legalizer.cpp
  test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
  test/CodeGen/AArch64/GlobalISel/legalize-add.mir
  test/CodeGen/AArch64/GlobalISel/legalize-and.mir
  test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
  test/CodeGen/AArch64/GlobalISel/legalize-combines.mir
  test/CodeGen/AArch64/GlobalISel/legalize-constant.mir
  test/CodeGen/AArch64/GlobalISel/legalize-div.mir
  test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
  test/CodeGen/AArch64/GlobalISel/legalize-extracts.mir
  test/CodeGen/AArch64/GlobalISel/legalize-fcmp.mir
  test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir
  test/CodeGen/AArch64/GlobalISel/legalize-inserts.mir
  test/CodeGen/AArch64/GlobalISel/legalize-itofp.mir
  test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
  test/CodeGen/AArch64/GlobalISel/legalize-mul.mir
  test/CodeGen/AArch64/GlobalISel/legalize-nonpowerof2eltsvec.mir
  test/CodeGen/AArch64/GlobalISel/legalize-or.mir
  test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
  test/CodeGen/AArch64/GlobalISel/legalize-pow.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/GlobalISel/legalize-sub.mir
  test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
  test/CodeGen/AArch64/GlobalISel/legalize-xor.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-constant.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
  test/CodeGen/ARM/GlobalISel/arm-isel.ll
  test/CodeGen/ARM/GlobalISel/arm-legalize-divmod.mir
  test/CodeGen/X86/GlobalISel/add-scalar.ll
  test/CodeGen/X86/GlobalISel/and-scalar.ll
  test/CodeGen/X86/GlobalISel/ext.ll
  test/CodeGen/X86/GlobalISel/legalize-add-v128.mir
  test/CodeGen/X86/GlobalISel/legalize-add-v256.mir
  test/CodeGen/X86/GlobalISel/legalize-add-v512.mir
  test/CodeGen/X86/GlobalISel/legalize-add.mir
  test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-constant.mir
  test/CodeGen/X86/GlobalISel/legalize-ext-x86-64.mir
  test/CodeGen/X86/GlobalISel/legalize-ext.mir
  test/CodeGen/X86/GlobalISel/legalize-gep.mir
  test/CodeGen/X86/GlobalISel/legalize-memop-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-phi.mir
  test/CodeGen/X86/GlobalISel/legalize-sub-v128.mir
  test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir
  test/CodeGen/X86/GlobalISel/legalize-sub-v512.mir
  test/CodeGen/X86/GlobalISel/legalize-sub.mir
  test/CodeGen/X86/GlobalISel/legalize-trunc.mir
  test/CodeGen/X86/GlobalISel/legalize-undef.mir
  test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
  test/CodeGen/X86/GlobalISel/or-scalar.ll
  test/CodeGen/X86/GlobalISel/sub-scalar.ll
  test/CodeGen/X86/GlobalISel/x86_64-fallback.ll
  test/CodeGen/X86/GlobalISel/xor-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39267.120339.patch
Type: text/x-patch
Size: 185842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/e71a1186/attachment-0001.bin>


More information about the llvm-commits mailing list