IshwaraK

Results issues of IshwaraK

The Clang compiler generates wrong assembly for the below C code in Power target. The function arguments are `unsigned char` and doesn't appear to be honored in assembly code. ```c...

backend:PowerPC
miscompilation

For the below trivial C code, the oraFoo() function is passing all const args as numeric zero at all optimization level other than -O0. Even though the args not used...

llvm:SelectionDAG

For the below example, we can observe that the function parameters are not stored in stack slot as per ABI, instead being stored in other area. The example is available...

backend:PowerPC
ABI

The clang compiler is not optimizing away pointer check in the foo() function in this code. The gcc removes that part of code as dead code after '-fdelete-null-pointer-checks' pass. We...

missed-optimization
llvm:analysis

The GVN optimizes-out the pointer-check code in else block of the below code snippet as part of 'removing nonlocal load' instruction. This is incorrect, because the pointer is getting modified...

llvm:GVN
undefined behaviour

The inst-combine is doing incorrect combining for the below code. Instead of de-referencing and then accessing the memory, it did offset addition and accessed wrong memory address. The CE link...

question
miscompilation
llvm:instcombine

On x86_64, Clang -O3 folds two distinct local objects into the same stack slot in the presence of setjmp/longjmp, even though the first object’s address escapes before longjmp and its...

miscompilation
llvm:optimizations

Look at the below reproducer. ```c #include extern size_t guard_size(void); extern int reuse_guard(void *old_top); extern void install_guard(void *guard_start, size_t bytes, int reuse); extern void use_live(void *live); #define STACK_ALLOC(bytes) __builtin_alloca(bytes) __attribute__((noinline))...

llvm:optimizations

The below reduced test-case shows segmentation fault in TVM compiler stack at the optimization level 2 and above. The problem is in call to 'lib.get_source()', as constant folding optimizes away...

status: help wanted

Observing the below build error in Linux platform when used with cmake. Halide-master/util/HalideTraceViz.cpp: In function ‘int {anonymous}::run(int, char**)’: Halide-master/util/HalideTraceViz.cpp:497:53: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (config.strides.size()