[LLVMbugs] [Bug 11779] 'ret' instruction unwanted interaction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 17 00:34:51 PST 2012


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

Mooneer Salem <mooneer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from Mooneer Salem <mooneer at gmail.com> 2012-01-17 02:34:51 CST ---
(In reply to comment #3)
> I also didn't understand the problem description.  Are you saying that if you
> change
> 
>   ret i32* %1
>   ret i32* %1
> 
> to
> 
>   ret i32* %1
> 
> in @x__o then your program starts working?

That's correct. It seems that the existence of two ret instructions causes some
sort of interaction that results in the function returning something other than
the contents of %1.

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