[llvm-dev] LLVM-IR: order of a PHI node predecessors ?
Jeroen Dobbelaere via llvm-dev
llvm-dev at lists.llvm.org
Thu Aug 3 06:02:43 PDT 2017
Hi all,
are there any restrictions on the order of a PHI node predecessors ?
Like following example, is this still valid LLVM-IR ?
---
for.body: ; preds = %for.body, %entry
%lsr.iv43 = phi i32 [ %lsr.iv.next44, %for.body ], [ 0, %entry ]
%i.032 = phi i32 [ 0, %entry ], [ %inc, %for.body ] ; %entry and %for.body reversed
---
Greetings,
Jeroen Dobbelaere
More information about the llvm-dev
mailing list