[PATCH] D51953: [GlobalISel] Add a new IR canonicalization pass
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 11 15:02:57 PDT 2018
aemerson created this revision.
aemerson added reviewers: qcolombet, dsanders, rtereshin, igorb, tstellar, bogner, aditya_nandakumar, volkan.
Herald added subscribers: kristof.beyls, rovka, mgorny.
Herald added a reviewer: javed.absar.
This pass is intended to contain IR transformations to make GlobalISel more effective, even running at -O0.
Motivated by discussions on https://reviews.llvm.org/D51362
The only canonicalization done in this initial version is swapping of icmp operands to ensure constants are on the RHS.
Repository:
rL LLVM
https://reviews.llvm.org/D51953
Files:
include/llvm/CodeGen/GlobalISel/Canonicalize.h
include/llvm/CodeGen/Passes.h
include/llvm/InitializePasses.h
lib/CodeGen/GlobalISel/CMakeLists.txt
lib/CodeGen/GlobalISel/Canonicalize.cpp
lib/CodeGen/TargetPassConfig.cpp
test/CodeGen/AArch64/O0-pipeline.ll
test/CodeGen/Generic/gisel-canonicalize.ll
tools/llc/llc.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51953.164981.patch
Type: text/x-patch
Size: 9142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180911/6a7fa3db/attachment.bin>
More information about the llvm-commits
mailing list