llvm-project/llvm/test/Transforms/DeadArgElim
Nikita Popov 99f869c8f0 [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
NoundefAttrs.ll [Attributes] Remove nonnull from UB-implying attributes 2021-07-25 18:07:31 +02:00
aggregates.ll
allocsize.ll
basictest.ll
byref.ll [test] Properly match parameter/argument ABI attributes 2021-05-31 09:12:18 -07:00
call_profile.ll
canon.ll
comdat.ll
dbginfo-preserve-dbgloc.ll
dbginfo-update-dbgval-local.ll
dbginfo-update-dbgval.ll
dbginfo.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
dead_vaargs.ll
deadexternal.ll
deadretval.ll [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of 2021-03-04 11:22:30 -08:00
deadretval2.ll
func_metadata.ll
funclet.ll
keepalive.ll Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
linkage.ll
multdeadretval.ll
musttail-caller.ll
naked_functions.ll
nonzero-address-spaces.ll
operandbundle.ll
preserve-used-ret.ll
returned.ll
variadic_safety.ll