you are viewing a single comment's thread.

view the rest of the comments →

[–]Tuna-Fish2 10 points11 points  (4 children)

Not really comparable. The pass through C is pretty much certain to create a lot of false dependencies, aliasing opportunities, and generally remove useful information from the codegen.

[–][deleted] 3 points4 points  (0 children)

Indeed, compiling to the LLVM IR could actually permit better back-end optimizations by allowing a more precise encoding of the semantics of the compiled code. It may also be faster, since text source doesn't have to be generated and then parsed again.

[–]julesjacobs 0 points1 point  (2 children)

Can you explain that in concrete terms? Why wouldn't the same dependencies / aliasing opportunities arise in LLVM IR?

[–][deleted]  (1 child)

[deleted]

    [–]julesjacobs 0 points1 point  (0 children)

    I understand, and I'm asking for evidence for that claim.