komalon1

Results issues of komalon1

godbolt link: https://godbolt.org/z/3ao3b3P9j Compiling the following program: ``` unsigned short shl(unsigned short val, unsigned char shift) { __builtin_assume(shift < 16); return (val

llvm:optimizations

applyLoopGuards tries to rewrite a SCEV expression using assumes. The order of the assumes in the source code affects the rewritten SCEV and sometimes we lose information. An example is...

llvm:SCEV
missed-optimization

reproducer: https://godbolt.org/z/463rz7sKd

loopoptim
crash

when there's a complex SCEV containing min/max and multiplication such as https://reviews.llvm.org/D141991, SCEV doesn't conclude the divisibility.

llvm:SCEV

When the IV advances w/o nsw/nuw, but the TC is known to divide by the IV's step, SCEV should be able to calculate the trip count, since the loop's exit...

llvm:SCEV

See reproducer in: https://godbolt.org/z/n7nzhWYdd Clang FE compiling OpenCL file is failing on assertion

clang:frontend
OpenCL
crash

See reproducer in https://godbolt.org/z/M6a7zxxdK Given the fact that `stride >= width` it should be safe to vectorize the load from `l_out[(i + 1) * stride + j]` and the store...

vectorizers

See reproducer in https://godbolt.org/z/c7ea3b85Y Adding `restrict` to the function parameters makes vectorization safe. Using `__builtin_assume_separate_storage(a1, a2);` should provide the same information as the `restrict` in this case, yet the loop...

llvm:analysis

look at reproducer at https://godbolt.org/z/575on875q. ` short tmp = 0; short tmp2 = 0; #pragma clang loop vectorize(disable) #pragma nounroll for(int x=0; x

llvm:optimizations
missed-optimization

See reproducer in: https://godbolt.org/z/vEv5r6Md7 We have 2 aliased stores in the loop that have order dependency: ``` SU(5): STBX8 %19:g8rc, %7:g8rc_and_g8rc_nox0, %18:g8rc :: (store (s8) into %ir.17) # preds left...

loopoptim
missed-optimization