[PATCH] D44368: MIR-Canon Idempotent Instruction Hoisting.

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 11 10:38:09 PDT 2018


plotfi created this revision.
plotfi added reviewers: bogner, MatzeB, qcolombet.
Herald added subscribers: llvm-commits, javed.absar.

The following patch contains support for hoisting instructions such as:

  %4353:gpr64 = MOVi64imm 4617315517961601024

to the top of the basic block.

These idempotent instructions are sorted alphabetically.


Repository:
  rL LLVM

https://reviews.llvm.org/D44368

Files:
  lib/CodeGen/MIRCanonicalizerPass.cpp
  test/CodeGen/MIR/AArch64/mirCanonIdempotent.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44368.137948.patch
Type: text/x-patch
Size: 11090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180311/914bb8a9/attachment.bin>


More information about the llvm-commits mailing list