[globalisel] Add a combiner helpers for extending loads and use them in a pre-legaliz...
authorDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 1 Oct 2018 18:56:47 +0000 (18:56 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 1 Oct 2018 18:56:47 +0000 (18:56 +0000)
commit9659bfda5a6493241c6e62bcc54c74f33d045c88
tree21a2b26e3ab4542be38ea8e793a26533a8e43530
parent3e081703c349dd00b8ef6991c2d15964915dd8f4
[globalisel] Add a combiner helpers for extending loads and use them in a pre-legalize combiner for AArch64

Summary: Depends on D45541

Reviewers: ab, aditya_nandakumar, bogner, rtereshin, volkan, rovka, javed.absar, aemerson

Subscribers: aemerson, rengolin, mgorny, javed.absar, kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D45543

llvm-svn: 343521
14 files changed:
llvm/include/llvm/CodeGen/GlobalISel/Combiner.h
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/CodeGen/GlobalISel/Combiner.cpp
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/Target/AArch64/AArch64.h
llvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp [new file with mode: 0644]
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/lib/Target/AArch64/CMakeLists.txt
llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
llvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-extending-loads.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/O0-pipeline.ll