This is intended to make a later change simpler.
Note: adding this bounds checking required fixing X86FastISel. As
far I can tell I've preserved original behavior but a careful review
will be appreciated.
Differential D14304
[IR] add bounds checking to paramHasAttr sanjoy on Nov 3 2015, 2:06 PM. Authored by
Details This is intended to make a later change simpler. Note: adding this bounds checking required fixing X86FastISel. As
Diff Detail
Event TimelineComment Actions At least for now I think we should allow ReturnIndex here since there isn't an existing hasReturnAttr. Comment Actions @ributzka, @eli.friedman -- can one of you please take a look at the X86 FastISel fix? Comment Actions The FastIsel changes appear to be correct... but probably not the most clear way to write it. It would be better to combine the if statements so it only checks arg_size != 0 once. Granted, I'm just basing that assessment off of r160725. If I did have any special knowledge here, I've forgotten it. Comment Actions LGTM w/minor comment addressed given the FastISel correctness is now covered.
|