[all-commits] [llvm/llvm-project] 43233b: [Clang] Add missing __ob_trap check for sign chang...
Ziqing Luo via All-commits
all-commits at lists.llvm.org
Thu Apr 2 11:23:39 PDT 2026
Branch: refs/heads/users/ziqingluo/eng/PR-171920065
Home: https://github.com/llvm/llvm-project
Commit: 43233b8aae2554141e6ad4b02528fe4a1b28dc3c
https://github.com/llvm/llvm-project/commit/43233b8aae2554141e6ad4b02528fe4a1b28dc3c
Author: Justin Stitt <justinstitt at google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGen/overflow-behavior-types-scl.c
M clang/test/CodeGen/overflow-behavior-types.c
Log Message:
-----------
[Clang] Add missing __ob_trap check for sign change (#188340)
Add a missing OBTrapInvolved check before EmitIntegerSignChangeCheck().
This is considered "missing" as a previous attempt (https://github.com/llvm/llvm-project/pull/185772) to properly add an `__ob_trap` backdoor missed this particular instance.
This backdoor is needed because we want `__ob_trap` types to be picky about implicit conversions (including implicit sign change):
```c
unsigned int __ob_trap big = 4294967295;
(signed int)big; // should trap!
```
Move the `OBTrapInvolved` setup to the top of the function so it can be used in all the places we need it.
Commit: e6bb6d906a75745fdd6fac861c6d073d113bd9b4
https://github.com/llvm/llvm-project/commit/e6bb6d906a75745fdd6fac861c6d073d113bd9b4
Author: Karthik Senthil <ksenthilkuma at nvidia.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
A llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll
Log Message:
-----------
[NVPTX][AsmPrinter] Demonstrate usage of NVPTXTargetAsmStreamer in NVPTXAsmPrinter. (#188539)
Currently NVPTXAsmPrinter uses intermediate strings to generate ASM and
emit directly to output streamer as raw text. This PR demonstrates how
the printer can be updated to use NVPTXTargetAsmStreamer instead,
thereby getting rid of the intermediate strings. This is shown only for
the PTX header and module level directives.
Commit: d0e265f20d5d0e1f0df039005ce6d1376c8d5e5f
https://github.com/llvm/llvm-project/commit/d0e265f20d5d0e1f0df039005ce6d1376c8d5e5f
Author: Ramkumar Ramachandra <artagnon at tenstorrent.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Cleanup and generalize VPIRMetadata CastInfo (NFC) (#190162)
Similar to b0230f59 ([VPlan] Cleanup and generalize VPPhiAccessors
CastInfo, #190027).
Commit: 343210656cf7c2b89336adf1c063d7e8a305be4b
https://github.com/llvm/llvm-project/commit/343210656cf7c2b89336adf1c063d7e8a305be4b
Author: Alex Langford <alangford at apple.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
R lldb/test/API/commands/expression/vector_of_enums/Makefile
R lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py
R lldb/test/API/commands/expression/vector_of_enums/main.cpp
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/Makefile
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/TestVectorOfEnums.py
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/main.cpp
Log Message:
-----------
[lldb] Standardize TestVectorOfEnums.py as a C++ data formatter test (#189757)
This is explicitly marked as a libc++ test and functionally tests the
formatter for a vector of enums. I put it in the generic directory
because there's no reason this couldn't work for other c++ stdlibs.
Additionally, this should be using the custom libc++ like the other
tests.
Commit: e0e439ce9fb8a64f1c9d61c937374fe9dd7527db
https://github.com/llvm/llvm-project/commit/e0e439ce9fb8a64f1c9d61c937374fe9dd7527db
Author: Alex Langford <alangford at apple.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M lldb/test/API/commands/frame/select-hidden/TestNavigateHiddenFrame.py
Log Message:
-----------
[lldb] Remove libc++ category from TestNavigateHiddenFrame.py (#190016)
This test technically does not require libc++. The test binary mimics
libc++'s namespace layout to trigger some frame hiding logic in lldb,
but it does not require libc++ to function.
Commit: 0a1c2972297aef8d8e49eb820da67d8ba3b513a3
https://github.com/llvm/llvm-project/commit/0a1c2972297aef8d8e49eb820da67d8ba3b513a3
Author: Ziqing Luo <ziqing_luo at apple.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGen/overflow-behavior-types-scl.c
M clang/test/CodeGen/overflow-behavior-types.c
R lldb/test/API/commands/expression/vector_of_enums/Makefile
R lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py
R lldb/test/API/commands/expression/vector_of_enums/main.cpp
M lldb/test/API/commands/frame/select-hidden/TestNavigateHiddenFrame.py
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/Makefile
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/TestVectorOfEnums.py
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/main.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
M llvm/lib/Transforms/Vectorize/VPlan.h
A llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll
Log Message:
-----------
Merge branch 'main' into users/ziqingluo/eng/PR-171920065
Compare: https://github.com/llvm/llvm-project/compare/d30f0f56cebc...0a1c2972297a
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