Getting "minimal" SSA from LLVM -


the llvm's opt -s -mem2reg pass produces so-called "pruned" ssa -- form has dead phi functions removed. keep phi instructions in ir, obtaining "minimal" ssa, i'm failing find easy way it.

am doomed implement whole ssa construction algorithm scratch or there way existing tools?

llvm doesn't have support forming other pruned ssa form, , it's unlikely grow such mechanism. quite literally don't work synthesize information when doing phi placement.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -