[llvm-dev] Query on i128 type tests written for memset

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 21 12:48:57 PST 2017


On 12/20/2017 9:51 PM, Gopalasubramanian, Ganesh via llvm-dev wrote:
>
> Hi,
>
> I was going through tests written for memset. I need help in figuring 
> out the types in the tests.
> Found test 
> “test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll>” which 
> uses i128 type for destination size.
>
> I am curious when we can get i128 type dest_size calls for memset?
>

As far as I know, clang will never generate a memset like that, and LLVM 
optimizations won't either.  But there isn't any rule against it, so 
other frontends could generate one, at least in theory.

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171221/15d1881f/attachment.html>


More information about the llvm-dev mailing list