[all-commits] [llvm/llvm-project] 2ba1cc: [Clang][CodeGen] Fix bad codegen when building Cla...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Sat Aug 10 13:26:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ba1cc8ea53cd76fbeac79dad837dcae32cc7e59
https://github.com/llvm/llvm-project/commit/2ba1cc8ea53cd76fbeac79dad837dcae32cc7e59
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-08-10 (Sat, 10 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGObjCGNU.cpp
Log Message:
-----------
[Clang][CodeGen] Fix bad codegen when building Clang with latest MSVC (#102681)
Before this PR, when using the latest MSVC `Microsoft (R) C/C++
Optimizing Compiler Version 19.40.33813 for x64` one of the Clang unit
test used to fail: `CodeGenObjC/gnustep2-direct-method.m`, see full
failure log:
[here](https://github.com/llvm/llvm-project/pull/100517#issuecomment-2266269490).
This PR temporarily shuffles around the code to make the MSVC inliner/
optimizer happy and avoid the bug.
MSVC bug report:
https://developercommunity.visualstudio.com/t/Bad-code-generation-when-building-LLVM-w/10719589?port=1025&fsid=e572244a-cde7-4d75-a73d-9b8cd94204dd
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list