llvm-project/llvm/test/LTO/X86
Matt Arsenault caf1316f71 IR: Add immarg attribute
This indicates an intrinsic parameter is required to be a constant,
and should not be replaced with a non-constant value.

Add the attribute to all AMDGPU and generic intrinsics that comments
indicate it should apply to. I scanned other target intrinsics, but I
don't see any obvious comments indicating which arguments are intended
to be only immediates.

This breaks one questionable testcase for the autoupgrade. I'm unclear
on whether the autoupgrade is supposed to really handle declarations
which were never valid. The verifier fails because the attributes now
refer to a parameter past the end of the argument list.

llvm-svn: 355981
2019-03-12 21:02:54 +00:00
..
Inputs Pass code-model through Module IR to LTO which will use it. 2018-09-21 18:41:31 +00:00
attrs.ll
bcsection.ll
cfi_endproc.ll
codemodel-1.ll Pass code-model through Module IR to LTO which will use it. 2018-09-21 18:41:31 +00:00
codemodel-2.ll Pass code-model through Module IR to LTO which will use it. 2018-09-21 18:41:31 +00:00
codemodel-3.ll Pass code-model through Module IR to LTO which will use it. 2018-09-21 18:41:31 +00:00
current-section.ll
diagnostic-handler-noexit.ll
diagnostic-handler-remarks-with-hotness.ll Enrich inline messages 2018-08-05 14:53:08 +00:00
diagnostic-handler-remarks.ll Enrich inline messages 2018-08-05 14:53:08 +00:00
disable-verify.ll
dllimport.ll [LTO] Handle __imp_ (dllimport) symbols consistently with lld 2018-07-23 22:33:57 +00:00
internalize.ll [ThinLTO] Add an option to disable (thin)lto internalization. 2018-11-05 15:49:46 +00:00
invalid.ll
keep-used-puts-during-instcombine.ll
libcall-overridden-via-alias.ll Update test of r344198 to work with release builds. 2018-10-11 20:19:25 +00:00
linkonce_odr_func.ll
list-symbols.ll
lit.local.cfg
llvm-lto-output.ll
no-undefined-puts-when-implemented.ll
objc-detection-i386.ll
objc-detection.ll
parallel.ll
pr25919.ll
pr38046.ll [LTO] Don't internalize declarations 2018-07-27 05:40:29 +00:00
private-symbol.ll
remangle_intrinsics.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
remangle_intrinsics_tbaa.ll
restore-externals.ll
runtime-library.ll
set-merged.ll
stdcall.ll
strip-debug-info-no-call-loc.ll
strip-debug-info.ll
symver-asm.ll
symver-asm2.ll
symver-asm3.ll
triple-init.ll [ThinLTO] Ensure the TargetLibraryInfo is constructed early enough 2018-07-23 21:58:19 +00:00
triple-init2.ll [ThinLTO] Ensure the TargetLibraryInfo is constructed early enough 2018-07-23 21:58:19 +00:00
type-mapping-bug.ll
type-mapping-bug2.ll IRMover: Account for matching types present across modules 2018-06-20 16:50:56 +00:00
unnamed.ll