User Details
- User Since
- Nov 12 2020, 5:47 AM (160 w, 2 d)
Jun 8 2023
Mar 27 2023
Mar 10 2023
Yes, it looks like the similar conditions are triggered by the code shown in that issue, but perhaps the reason isn't that indvars simplification pass couldn't really deduce the the value from last but one iteration (as seen in the example I shared: https://godbolt.org/z/5xhY1EcGb), but maybe the code structure introduced by this change?
Mar 7 2023
We see that for a single-threaded system or with option '-mllvm -licm-force-thread-model-single', the generated code quality worsens for a very simple example: https://godbolt.org/z/5xhY1EcGb.
Feb 11 2022
Sorry, but I can only add a bit more confusion: https://godbolt.org/z/fT19KTh34
There are two cases, only differing in terms of user-defined constructor.
Feb 5 2022
Feb 3 2022
@dblaikie
The condition FieldClass->isPOD() returns false for the following case (when considering field 'struct foo t' of 'struct foo1') :
Nov 18 2020
Apologies for wrong patch (repeat of previous). I have now put up the latest patch. Please review and accept.
Restructured the code as suggested by @jeroen.dobbelaere
Added the missing computation of Known bits for the case Instruction::AShr. This should result in no change of functionality except when intended.
Nov 17 2020
Modified the comment as suggested by @lebedev.ri
Nov 16 2020
I have adapted the code as per @spatel's suggestion. This also solves the comments given on earlier version by @RKSimon.