News for hackers. Stuff that matters.
Re:Proposal for a Friendly Dialect of C by cokernel_hacker on Wednesday August 27, 2014 @04:52PM (#8234661)
This is definitely possible, I'll give an example using LLVM's IR

input:

  declare void @g()

  define void @f() {
    br i1 undef, label %if.end, label %if.else

  if.else:
    call void @g()
    br label %if.end

  if.end:
    ret void
  }

  
after optimizations:

  declare void @g()

  define void @f() {
  if.else:
    tail call void @g()
    ret void
  }

There are no comments on this comment yet.