[LLVMbugs] [Bug 3762] Constant folding methods need the iterator treatment

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 4 05:49:14 PDT 2012


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

Jay Foad <jay.foad at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jay.foad at gmail.com
         Resolution|                            |FIXED

--- Comment #1 from Jay Foad <jay.foad at gmail.com> 2012-05-04 07:49:14 CDT ---
> 2216            if (Constant *C = ConstantFoldCall(Callee, &Formals[0],
> 2217                                               Formals.size())) {

This code in lib/Transforms/IPO/GlobalOpt.cpp was fixed to use Formals.data()
in r79237 (and then changed again to just pass Formals as an ArrayRef in
r135477).

-- 
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