[llvm-bugs] [Bug 31600] New: Allow vector value types to use signext/zeroext attributes
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 10 09:12:40 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31600
Bug ID: 31600
Summary: Allow vector value types to use signext/zeroext
attributes
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: llvm-bugs at lists.llvm.org, spatel+llvm at rotateright.com
Classification: Unclassified
As discussed on [Bug #28486], we don't currently support signext/zeroext
attributes on vector value types:
define <4 x i32> @boolext(<4 x i1> signext %a) {
%ext = sext <4 x i1> %a to <4 x i32>
ret <4 x i32> %ext
}
Doing so could help in a number of cases, for instance when passing around
mask/boolean vector data.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170110/d944a676/attachment.html>
More information about the llvm-bugs
mailing list