- User Since
- Nov 24 2016, 5:21 AM (165 w, 6 d)
Dec 20 2019
Can we guarantee "sizeof(<vscale x 1 x i8>) == vscale" for all future targets? much like how "sizeof(<vscale x 1 x i1>) == vscale" doesn't hold true for SVE. If not then this isn't a canonical form as the exact pattern becomes target specific. Or to put another, why should vscale be linked to data layout?
Dec 19 2019
Given this establishes that adding the scalable vector type has inadvertently created a way to represent the runtime constant of vscale as a constant, what's the downside to having a clearer representation in the form of an explicit constant?
Aug 17 2019
Aug 16 2019
Thanks for the report, I've committed a version without the %s that will hopefully fix the issue.
Have I got the terminology the wrong way round? I assumed relaxing meant the act of converting a branch who destination is not within range into a one that is within range either by inversion or introducing a second branch with sufficient range. I just want to make sure my commit message makes sense.
Aug 17 2018
There is this nugget from the C documentation:
Apr 30 2018
I also prefer Geoff's solution. Thanks Geoff.
Apr 19 2018
Apr 18 2018
Dec 19 2017
Query LangOpts for FastMast rather than IRBuilder and fleshed out the tests.
Dec 15 2017
Adds support for versions of cabs that take discrete real and imaginary parameters.
Nov 30 2017
Removed three instcombine tests that are either covered by existing instsimplify tests of have equivalent instsimplify tests provided by this patch.
Nov 29 2017
Extended to cover une and oeq conditions. Added an assert to protect against unintentional refactoring and a TODO for future improvements.
Nov 28 2017
Good point, I'll add the extra conditions along with the TODO.
Broke out the isNegative case into its own block so that more conditions can be handled when it's known the constant is non-zero. Removed my original tests and updated the existing ones to reflect the optimised output.
Nov 21 2017
Nov 15 2017
Nov 14 2017
Oct 11 2017
As requested I've simplified the patch's mir test.