[PATCH] D57718: [PPC] Adjust the computed branch offset for the possible shorter distance

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 13 16:11:40 PST 2019


Carrot updated this revision to Diff 186767.
Carrot marked an inline comment as done.
Carrot added a comment.

Add a test case.

Improve the code to adjust branch offset only when we have imprecise code size.


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

https://reviews.llvm.org/D57718

Files:
  lib/Target/PowerPC/PPCBranchSelector.cpp
  test/CodeGen/PowerPC/branch_selector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57718.186767.patch
Type: text/x-patch
Size: 6106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190214/7e940f5c/attachment.bin>


More information about the llvm-commits mailing list