[SR-8870] _builtinWordValue should zext/sext based on signedness #51376
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
good first issue
Good for newcomers
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 704c7bcbe00f04e1121a124c26f648ad
Issue Description:
The discussion from https://forums.swift.org/t/compiling-4-2-on-armv7/16267/38 is identifying potential issues when _builtinWordValue does not use the appropriate sign-preserving or sign-ignoring extension operation.
We should make a test case that repros on Darwin/CI, and apply a fix.
The text was updated successfully, but these errors were encountered: