[PATCH] D15987: [PPC] Handle weighted comparisons when inserting selects.

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 18:12:53 PST 2016


iteratee created this revision.
iteratee added a reviewer: hfinkel.
iteratee added a subscriber: llvm-commits.

A latent bug was triggered by r255398. Weighted branches were not
handled in PPCInstrInfo::insertSelect. Add code to handle them.


http://reviews.llvm.org/D15987

Files:
  lib/Target/PowerPC/PPCInstrInfo.cpp
  test/CodeGen/PowerPC/2016-01-07-BranchWeightCrash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15987.44303.patch
Type: text/x-patch
Size: 4603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160108/38ad8bb2/attachment.bin>


More information about the llvm-commits mailing list