[LLVMdev] What is "strong phi elimination"

Owen Anderson resistor at mac.com
Mon Mar 24 21:22:25 PDT 2008


Ask an ye shall receive.  From the .cpp file:

// 
= 
= 
=---------------------------------------------------------------------- 
===//
//
// This pass eliminates machine instruction PHI nodes by inserting copy
// instructions, using an intelligent copy-folding technique based on
// dominator information.  This is technique is derived from:
//
//    Budimlic, et al. Fast copy coalescing and live-range  
identification.
//    In Proceedings of the ACM SIGPLAN 2002 Conference on Programming  
Language
//    Design and Implementation (Berlin, Germany, June 17 - 19, 2002).
//    PLDI '02. ACM, New York, NY, 25-32.
//    DOI= http://doi.acm.org/10.1145/512529.512534
//
// 
= 
= 
=---------------------------------------------------------------------- 
===//

Basically, it's PHI elimination with built-in coallescing.

--Owen

On Mar 24, 2008, at 11:17 PM, Christopher Lamb wrote:

> Can you describe quickly (or point to references for the inclined)  
> what this pass will do and what other stuff it might enable for  
> LLVM? I'm just curious.
>
> --
> Christopher Lamb
>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080324/de4a380b/attachment.bin>


More information about the llvm-dev mailing list