Yeoul Na
Yeoul Na
@swift-ci test llvm
Closing it, as I identified a regression in a SWB with this change.
@zyedidia Thanks for filing the issue! You're absolutely right that dereferencing a `__single` pointer should emit a null check by design. However, we currently don't enable null checks for optimization...
@fhahn This may be a bug in the ConstraintElimination pass? `%17` from the previous pass is simplified to `true` (i.e., ` %16 = zext i1 true to i32`), which doesn't...
@swift-ci test llvm
10:54:56 Failed Tests (6): 10:54:56 Clang :: BoundsSafety/CodeGen/dynamic-range-init-list-O2.c 10:54:56 Clang :: BoundsSafety/CodeGen/ended_by_assign_checks-O2.c 10:54:56 Clang :: BoundsSafety/CodeGen/ended_by_assign_checks_parms-O2.c 10:54:56 Clang :: BoundsSafety/CodeGen/ended_by_assign_checks_seq-O2.c 10:54:56 Clang :: BoundsSafety/CodeGen/range-check-optimizations-constexpr-geps.c Test failures are unrelated - already...
@abhijeetsharma200 Thanks! We need an investigation for https://github.com/swiftlang/llvm-project/issues/13568. Let me know if you'd like to take it.
Thanks for help! But `__single` should just use AttributedType, no need to create a new type for this. @delcypher on my team has been looking at this issue. So for...
Yes, keeping modifiedType unchanged under AttributedType should fix the typedef issue. For equivalentType though, we intentionally want it to canonicalize to the same type as __unsafe_indexable or other thin pointers....
@AnupamKumar-1 Please let me know if you still want to tackle this issue with the suggested `AttributedType` approach.