[PATCH] D68073: Propeller code layout optimizations

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 19:26:47 PST 2020


rahmanl updated this revision to Diff 241860.
rahmanl added a reviewer: MaskRay.
rahmanl removed a subscriber: MaskRay.
rahmanl added a comment.

This update mainly changes the floating point variables in the code layout parameters to integers. 20% speedup is achieved by this.

This update also includes the removal of some functionalities and unnecessary code.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68073/new/

https://reviews.llvm.org/D68073

Files:
  lld/ELF/Propeller/CodeLayout/CodeLayout.cpp
  lld/ELF/Propeller/CodeLayout/CodeLayout.h
  lld/ELF/Propeller/CodeLayout/ModifiablePriorityQueue.h
  lld/ELF/Propeller/CodeLayout/NodeChain.cpp
  lld/ELF/Propeller/CodeLayout/NodeChain.h
  lld/ELF/Propeller/CodeLayout/NodeChainAssembly.cpp
  lld/ELF/Propeller/CodeLayout/NodeChainAssembly.h
  lld/ELF/Propeller/CodeLayout/NodeChainBuilder.cpp
  lld/ELF/Propeller/CodeLayout/NodeChainBuilder.h
  lld/ELF/Propeller/CodeLayout/NodeChainClustering.cpp
  lld/ELF/Propeller/CodeLayout/NodeChainClustering.h
  lld/test/ELF/propeller/codelayout/function-ordering.s
  lld/test/ELF/propeller/codelayout/function-with-loop.s
  lld/test/ELF/propeller/codelayout/opt-all-combinations.s
  lld/test/ELF/propeller/codelayout/optimal-fallthrough.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68073.241860.patch
Type: text/x-patch
Size: 117922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/aa447691/attachment-0001.bin>


More information about the llvm-commits mailing list