[LLVMdev] IR in SSA form?

George Baah georgebaah at gmail.com
Tue Mar 29 10:26:32 PDT 2011


Hi All,
  When I run the following command
llvm-gcc -03 -emit-llvm test.cpp -c -o test.bc or llvm-gcc -emit-llvm
test.cpp -c -o test.bc

on the program test.cpp, the IR representation is not in SSA form.
I do not see any phi functions.

program: test.cpp
int main(int argc, char **argv)
{
  int a[2],i,j;
  for(i=0;i<2;i++)
  {
    a[i] = i;
  }
  return a[1];
}

Any clarifications will be greatly appreciated. Thanks.

George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110329/c54afd9f/attachment.html>


More information about the llvm-dev mailing list