Commit Graph

4 Commits

Author SHA1 Message Date
Anthony Latsis
17fc00f8a7 [test] IRGen: Adjust FileCheck patterns for new nuw attribute in upstream LLVM
This attribute was introduced in
7eca38ce76d5d1915f4ab7e665964062c0b37697 (llvm-project).

Match it using a wildcard regex, since it is not relevant to these
tests.

This is intended to reduce future conflicts with rebranch.
2025-05-04 03:28:56 +01:00
Dario Rexin
48ee212303 [IRGen] Use at least Int8 for extra tag bits
rdar://149985633

Using at least Int8 here allows LLVM to apply more optimizations, reducing code size, avoiding stack allocations and as a result often eliminating complete stack frames.
2025-04-30 15:55:17 -07:00
Arnold Schwaighofer
d589133b1d Fix test/IRGen/enum_copy_init_with_take_memcpy.swift on rebranch 2024-10-09 08:13:49 -07:00
Arnold Schwaighofer
35afefb08e IRGen: Prefer memcpy for initWithTake of single/mulipayload enums where
possible over an outlined copy function

rdar://83297558
https://github.com/swiftlang/swift/issues/57537
2024-10-07 16:49:41 -07:00