{"push_id":2622923716,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"5e7e777a79fd0de6e5cb2f1ebceba26dc1a032fd","before":"9fb2df0c8ed9adc5e9f57b8e5c9f166561d48e3a","commits":[{"sha":"5e7e777a79fd0de6e5cb2f1ebceba26dc1a032fd","author":{"name":"Peter Smith","email":"53c7352ee073ca33af0154303b3d5ac4294a55bf@linaro.org"},"message":"[MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup\n\nOn targets like Arm some relaxations may only be performed when certain\narchitectural features are available. As functions can be compiled with\ndiffering levels of architectural support we must make a judgement on\nwhether we can relax based on the MCSubtargetInfo for the function. This\nchange passes through the MCSubtargetInfo for the function to\nfixupNeedsRelaxation so that the decision on whether to relax can be made\nper function. In this patch, only the ARM backend makes use of this\ninformation. We must also pass the MCSubtargetInfo to applyFixup because\nsome fixups skip error checking on the assumption that relaxation has\noccurred, to prevent code-generation errors applyFixup must see the same\nMCSubtargetInfo as fixupNeedsRelaxation.\n\nDifferential Revision: https://reviews.llvm.org/D44928","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/5e7e777a79fd0de6e5cb2f1ebceba26dc1a032fd"}]}
{"actor":{"display_login":"chapuni"}}