[LLVMbugs] [Bug 9475] branch vs. indirect call

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 14 11:40:53 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9475

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER

--- Comment #2 from Chris Lattner <clattner at apple.com> 2011-04-14 13:40:52 CDT ---
I don't think that this is particularly common, but if you really care we could
have a mid-level optimization that turns "call (select c, foo,bar)" into "if
(c) {foo()} else {bar()}" which is good for pointer analysis, IPO etc anyway.

If this is important, please move to Target/README.txt

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list