forked from OSchip/llvm-project
caf1316f71
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 |
||
---|---|---|
.. | ||
Inputs | ||
attrs.ll | ||
bcsection.ll | ||
cfi_endproc.ll | ||
codemodel-1.ll | ||
codemodel-2.ll | ||
codemodel-3.ll | ||
current-section.ll | ||
diagnostic-handler-noexit.ll | ||
diagnostic-handler-remarks-with-hotness.ll | ||
diagnostic-handler-remarks.ll | ||
disable-verify.ll | ||
dllimport.ll | ||
internalize.ll | ||
invalid.ll | ||
keep-used-puts-during-instcombine.ll | ||
libcall-overridden-via-alias.ll | ||
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 | ||
private-symbol.ll | ||
remangle_intrinsics.ll | ||
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 | ||
triple-init2.ll | ||
type-mapping-bug.ll | ||
type-mapping-bug2.ll | ||
unnamed.ll |