[PATCH] D24327: [DAGCombine] Modification of visitBR_CC

Jongwon Lee via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 19:37:17 PDT 2016


JongwonLee created this revision.
JongwonLee added reviewers: RKSimon, bryant, spatel.
JongwonLee added a subscriber: llvm-commits.

visitBR_CC is modified to support below IR change.

 %2 = add %1, #const
 br_cc cond %2, #const
 -->
 br_cc cond %1, 0

https://reviews.llvm.org/D24327

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/DAGCombine-optimize-brcc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24327.70636.patch
Type: text/x-patch
Size: 4493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160908/141efc70/attachment.bin>


More information about the llvm-commits mailing list