1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Transforms/DeadArgElim
Nikita Popov adc5107b73 [Attributes] Remove nonnull from UB-implying attributes
From LangRef:

> if the parameter or return pointer is null, poison value is
> returned or passed instead. The nonnull attribute should be
> combined with the noundef attribute to ensure a pointer is not
> null or otherwise the behavior is undefined.

Dropping noundef is sufficient to prevent UB. Including nonnull
in this method just muddies the semantics.
2021-07-25 18:07:31 +02:00
..
2006-06-27-struct-ret.ll
2007-02-07-FuncRename.ll
2007-10-18-VarargsReturn.ll
2007-12-20-ParamAttrs.ll
2008-01-16-VarargsParamAttrs.ll
2008-06-23-DeadAfterLive.ll
2009-03-17-MRE-Invoke.ll
2010-04-30-DbgInfo.ll
2013-05-17-VarargsAndBlockAddress.ll
aggregates.ll
allocsize.ll
basictest.ll
byref.ll
call_profile.ll
canon.ll
comdat.ll
dbginfo-preserve-dbgloc.ll
dbginfo-update-dbgval-local.ll
dbginfo-update-dbgval.ll
dbginfo.ll
dead_vaargs.ll
deadexternal.ll
deadretval2.ll
deadretval.ll
func_metadata.ll
funclet.ll
keepalive.ll
linkage.ll
multdeadretval.ll
musttail-caller.ll
naked_functions.ll
nonzero-address-spaces.ll
NoundefAttrs.ll
operandbundle.ll
preserve-used-ret.ll
returned.ll
variadic_safety.ll