llvm-project/llvm/test/Instrumentation/InstrProfiling
Marcin Koscielnicki 1c2bd1e9f3 [InstrProfiling] Mark __llvm_profile_instrument_target last parameter as i32 zeroext if appropriate.
On some architectures (s390x, ppc64, sparc64, mips), C-level int is passed
as i32 signext instead of plain i32.  Likewise, unsigned int may be passed
as i32, i32 signext, or i32 zeroext depending on the platform.  Mark
__llvm_profile_instrument_target properly (its last parameter is unsigned
int).

This (together with the clang change) makes compiler-rt profile testsuite pass
on s390x.

Differential Revision: http://reviews.llvm.org/D21736

llvm-svn: 287534
2016-11-21 11:57:19 +00:00
..
X86 [PGO] Add test case to ensure covmap section is not allocatable. 2016-02-26 03:05:10 +00:00
PR23499.ll [InstrProf] Add support for dead_strip+live_support functionality 2016-10-11 21:48:16 +00:00
icall.ll [InstrProfiling] Mark __llvm_profile_instrument_target last parameter as i32 zeroext if appropriate. 2016-11-21 11:57:19 +00:00
linkage.ll [profile] Fix runtime hook linkage bug for COFF 2016-05-24 18:47:38 +00:00
no-counters.ll Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
noruntime.ll Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
platform.ll [InstrProf] Add support for dead_strip+live_support functionality 2016-10-11 21:48:16 +00:00
profiling.ll [InstrProf] Add support for dead_strip+live_support functionality 2016-10-11 21:48:16 +00:00