ltertan

Results comments of ltertan

> I'll have a look. It seems that `-msoft-float` is disabling `-maltivec`. Maybe the same thing is happening with #55555 as well? If `-msoft-float` is removed from the other defect,...

I was comparing this with GCC, but looking at the generated code when using -msoft-float and -mhard-float, GCC actually generates the same code -- probably they silently use -mhard-float instead....

Sounds good. I'll leave this defect open and close the other one.

That makes sense, thank you. I assume the default _SizeType_, for ppc32 baremetal, comes from Basic/TargetInfo.cpp, right? In which cases, it is UnsignedLong. Do you think a fix should be...

I think this might be a front-end issue. On Linux the 0x0000800000000000UL literal in the if is treated as a 8 byte value, while on Windows as a 4 byte...

But the Windows host is 64-bit, so is the ULL over UL necessary?

I ran a few tests. Execution of the above **Test-case** prints: ```shell incorrect correct ``` I was able to run a few more tests: ```c printf ("sizeof(long) = %d\n", sizeof(long));...

Command line invocation for Windows 10 64-bit, using official LLVM 13.0.1: ```shell C:\wr>clang --target=ppc64 -mcpu=a2 -c code.c -### clang version 13.0.1 Target: ppc64 Thread model: posix InstalledDir: C:\Program Files\LLVM\bin (in-process)...

surprisingly enough, it's identical: ```diff --- codgen.ll 2022-07-13 14:45:45.877461939 +0300 +++ win64.ll 2022-07-13 14:45:35.317361846 +0300 @@ -1,5 +1,5 @@ -; ModuleID = 'codgen.c' -source_filename = "codgen.c" +; ModuleID = 'code.c'...