[llvm-commits] Control reaches the end of non-void function

Duncan Sands baldrick at free.fr
Fri Mar 28 00:02:03 PDT 2008


On Friday 28 March 2008 00:35:19 David Chisnall wrote:
> Some versions of GCC can't tell that an assert that always fails  
> counts as a return path, so emits warnings. I've enclosed a diff that  
> fixes this in all of the places it currently appears.

How about returning MVT::Other for the value type ones?

Ciao,

D.



More information about the llvm-commits mailing list