[LLVMbugs] [Bug 5450] Identical cases in a SwitchInst causes an assertion failure

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Nov 10 14:56:32 PST 2009


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


Ian McKellar <ian at mckellar.org> changed:

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




--- Comment #4 from Ian McKellar <ian at mckellar.org>  2009-11-10 16:56:32 ---
(In reply to comment #2)
> Yes, LLVM assumes that API users generate correct code. Does the verifier catch
> this case? If so, then it's not a bug.
> 

The llvm::verifyFunction succeeds, so I guess it's a bug, just not the one I
thought. I'm reopening and attaching an updated test case.


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