User Details
- User Since
- Mar 28 2021, 7:00 PM (104 w, 4 d)
Feb 18 2022
Feb 16 2022
Feb 14 2022
Thank you for your clarification. I'll change it.
Jan 16 2022
Jan 14 2022
@nathanchance Hi, I analyzed all four warnings.
Jan 13 2022
@nathanchance
You were right. I succeeded in reproducing the warning with -fsanitize-coverage=trace-pc
However, this problem seems to be fixed in the latest version. (I used 57a551a)
Jan 11 2022
I tried to reproduce the last warning (intelfbhw_validate_mode), but I failed to produce it.
I think my reproducer is correct, but it does not make any warning.
Can you tell me which part was wrong?
Dec 29 2021
Great. I'll check it out.
Dec 28 2021
Nov 14 2021
Nov 13 2021
Nov 8 2021
Nov 6 2021
Nov 5 2021
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp index ea3e5bdbc754..826c6d36e1b1 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp @@ -1360,7 +1360,7 @@ uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, #elif defined(__aarch64__) uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) { - long long res; + register long long res __asm__("x0"); if (!fn || !child_stack) return -EINVAL; CHECK_EQ(0, (uptr)child_stack % 16);
After modifying internal_clone like this, the problem disappeared.
Is it okay to commit this change by myself?
Nov 1 2021
I checked the reason for failure in address sanitizer tests on the 2-stage aarch64 buildbots.
The buildbot failure was occured because the internal_clone function of the compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp file is being compiled incorrectly.
The internal_clone function is a simple function that calls the clone system call of Linux. Its original return value should be the PID of the newly created process, but the actual returned value is 220 (which is the __NR_clone value.)
Oct 15 2021
Rebase
Oct 11 2021
Thank you for the review.
I will also prepare for improvement!
Oct 7 2021
Thank you!
In the meantime, I will rebase this patch and resolve conflicts.
Oct 6 2021
Changed to the original patch.
Right, many codes were not directly related to solving the loop unswitch problem.
Those codes were created to reduce performance regression, and I agree to separate them into different patches.
remove unused sink functions.
Add nontrivial-unswitch-freeze.ll to show changes.
Since the flag that adds the freeze is off, there is no change in the existing test code.
How about adding -freeze-loop-unswitch-cond to some of the tests so that we can see where the freeze is added?
refix test code
update test codes
Add Freeze-loop-unswitch-cond flag.
This flag determines whether to add a freeze to the condition of the loop switch.
When this flag is turned on, the miscompilation is solved, but It will degrade the performance.
The default value of the flag is set to false until the performance problem is completely solved.
Oct 3 2021
Thanks!
Sep 28 2021
Sep 27 2021
reformat code
Add the new CreateInsertElement
Sep 26 2021
Revert PPCTargetTransformInfo.cpp
Q: Is there any test that is affected by this?
Sep 23 2021
Sep 22 2021
Correct the wrong rebase.
Rebase
Fix comment, update test file(wasm.c)
reformat code
Sep 21 2021
rebase and change function name.
I just created a patch D110146 that adds a constructor, so I'll close this patch.
Oh, I misunderstood. I'll just add a constructor for one-vector-input.
Sep 20 2021
Sep 19 2021
Sep 12 2021
I did some experiments to confirm the benefits of adding a noundef attribute to the function parameter. (test result link)