1*61046927SAndroid Build Coastguard Worker- Detect code paths in non-void functions that don't reach a return statement 2*61046927SAndroid Build Coastguard Worker 3*61046927SAndroid Build Coastguard Worker- Improve handling of constants and their initializers. Constant initializers 4*61046927SAndroid Build Coastguard Worker should never generate any code. This is trival for scalar constants. It is 5*61046927SAndroid Build Coastguard Worker also trivial for arrays, matrices, and vectors that are accessed with 6*61046927SAndroid Build Coastguard Worker constant index values. For others it is more complicated. Perhaps these 7*61046927SAndroid Build Coastguard Worker cases should be silently converted to uniforms? 8*61046927SAndroid Build Coastguard Worker 9*61046927SAndroid Build Coastguard Worker- Track source locations throughout the IR. There are currently several 10*61046927SAndroid Build Coastguard Worker places where we cannot emit line numbers for errors (and currently emit 0:0) 11*61046927SAndroid Build Coastguard Worker because we've "lost" the line number information. This is particularly 12*61046927SAndroid Build Coastguard Worker noticeable at link time. 13