[LLVMdev] What is the front end pattern?

gamma_chen gamma_chen at yahoo.com.tw
Sun Apr 14 22:35:45 PDT 2013


I find this pattern as below from <llvm-source-tree>/test/CodeGen/Mips/alloca.ll.
Do you know what front end pattern can be translated into this pattern alloca with variable argument %size as below? 
Can some one help me? I am writing the llvm backend document --http://jonathan2251.github.com/lbd/index.html now.

%tmp1 = alloca i8, i32 %size, align 4 // has %size variable, not pattern, alloca i8, align 4

define i32 @twoalloca(i32 %size) nounwind {
entry:
...
? %tmp1 = alloca i8, i32 %size, align 4
}

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130415/cd40107b/attachment.html>


More information about the llvm-dev mailing list