[all-commits] [llvm/llvm-project] 01a103: [llvm] Fix __builtin_object_size interaction betwe...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Sat Nov 2 02:14:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01a103b0b9c449e8dec17950835991757d1c4f88
https://github.com/llvm/llvm-project/commit/01a103b0b9c449e8dec17950835991757d1c4f88
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-11-02 (Sat, 02 Nov 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryBuiltins.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/test/Transforms/LowerConstantIntrinsics/builtin-object-size-phi.ll
M llvm/test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll
Log Message:
-----------
[llvm] Fix __builtin_object_size interaction between Negative Offset … (#111827)
…and Select/Phi
When picking a SizeOffsetAPInt through combineSizeOffset, the behavior
differs if we're going to apply a constant offset that's positive or
negative: If it's positive, then we need to compare the remaining bytes
(i.e. Size
- Offset), but if it's negative, we need to compare the preceding bytes
(i.e. Offset).
Fix #111709
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