llvm-project/llvm/test/Instrumentation/DataFlowSanitizer
Simon Dardis b5205c69d2 [dfsan] Add explicit zero extensions for shadow parameters in function wrappers.
In the case where dfsan provides a custom wrapper for a function,
shadow parameters are added for each parameter of the function.
These parameters are i16s. For targets which do not consider this
a legal type, the lack of sign extension information would cause
LLVM to generate anyexts around their usage with phi variables
and calling convention logic.

Address this by introducing zero exts for each shadow parameter.

Reviewers: pcc, slthakur

Differential Revision: https://reviews.llvm.org/D33349

llvm-svn: 311087
2017-08-17 14:14:25 +00:00
..
Inputs [dfsan] Add explicit zero extensions for shadow parameters in function wrappers. 2017-08-17 14:14:25 +00:00
abilist.ll [dfsan] Add explicit zero extensions for shadow parameters in function wrappers. 2017-08-17 14:14:25 +00:00
args-unreachable-bb.ll
arith.ll
call.ll
debug-nonzero-labels.ll
debug.ll
external_mask.ll
load.ll
memset.ll
prefix-rename.ll
shadow-args-zext.ll [dfsan] Add explicit zero extensions for shadow parameters in function wrappers. 2017-08-17 14:14:25 +00:00
store.ll
union-large.ll
union.ll
unordered_atomic_mem_intrins.ll