[patch] simplifyCFG for review

Ye, Mei Mei.Ye at amd.com
Mon Jul 8 10:38:18 PDT 2013


Ping?

From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Ye, Mei
Sent: Friday, June 28, 2013 2:46 PM
To: Evan Cheng; Renato Golin; Sean Silva; Tom Stellard; llvm-commits at cs.uiuc.edu
Subject: [patch] simplifyCFG for review

Hi all

Thank you for your comments.   Attached is an updated patch.
- add TargetTransformInfo to R600 .
- add hasBranchDivergence to query whether a target has branch divergence.
- Invoke branch reduction opts only when the underlying target has branch divergence.  So currently it only gets triggered for R600.
- fixed a bug in opt.cpp
- correct clang-format issues.

I have tested the correctness on x86 (by adding branch divergence to X86TargetTransformInfo in my local workspace) using existing testing infrastructure and CPU2006, CPU2000.  Tom Stellard agrees to run R600 testings (thanks a lot, Tom).

-Mei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130708/06fbca9f/attachment.html>


More information about the llvm-commits mailing list