zhijian lin

Results issues of zhijian lin

print out xcoff file header and load section header for xcoff object file with `llvm-objdump --private-headers`

llvm:binary-utilities

Fixes: https://github.com/llvm/llvm-project/issues/71030 Bug only happens in 64bit involving spills. Since we don't know when the spill will happen, all instructions in the chain used to deduce sign extension for eliminating...

backend:PowerPC

Lowering of intrinsic `__builtin_cpu_is` and `__builtin_cpu_support` into AIX platform-specific code. The runtime external variable `_system_configuration` in `/usr/include/sys/systemcfg.h` provides all the information needed for functions `__builtin_cpu_is()` and `__builtin_cpu_support()`.

backend:PowerPC
platform:aix

the following test has "Illegal instruction (core dumped) " which is a regression by https://reviews.llvm.org/D126962 in the following test case. bash> cat a.c ``` char* foo(char*); int main() { char...

llvm:optimizations
undefined behaviour

Description: bash> cat test.cpp ``` extern "C" { #include "altivec.h" void vsexp (float* __restrict __output_a,float* __restrict var1321In_a,int* __restrict n) { int j; # pragma nounroll for(j=j*4;jThis Inner Loop Header: Depth=1...

backend:PowerPC

reproduce: bash> cat issue.ll ``` target datalayout = "E-m:a-Fi64-i64:64-n32:64-S128-v256:256:256-v512:512:512" target triple = "powerpc64-ibm-aix7.2.0.0" define void @initial( %0) #0 { entry: %1 = fmul %0, zeroinitializer br label %for.cond251.preheader.lr.ph for.cond251.preheader.lr.ph: ;...

backend:PowerPC

bash> cat test.ll ``` %0 = type @dvar = external global [2352637 x %0] define void @Test() { bb: %i9 = load , ptr getelementptr inbounds (i8, ptr @dvar, i64...

backend:PowerPC

cat > test.c ``` typedef signed char sb; void foo(sb); void __attribute__((noinline)) bar(sb sb1, sb var2, sb var3, sb var4, sb sb5) { foo(sb5); } void __attribute__((noinline)) test() { bar(1,...

duplicate
backend:PowerPC

bash> cat tc.cpp #include void foo (float* __restrict _a,float* __restrict In_a,int* __restrict n) { for(int j=0;jclang -o tc.s -S tc.cpp -O3 -maltivec -mcpu=pwr10 -m64 cat> tc.s ``` # %bb.2: #...

backend:PowerPC

invalid