Files
clang-p2996/llvm/test/Transforms/LowerConstantIntrinsics
serge-sans-paille 01a103b0b9 [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
2024-11-02 09:14:35 +00:00
..