llvm-project/llvm/lib/Transforms
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
..
Coroutines Remove `inline` keyword from inline `classof` methods 2017-06-29 19:35:17 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO Add strictfp attribute to prevent unwanted optimizations of libm calls 2017-08-14 21:15:13 +00:00
InstCombine [InstCombine] Teach canEvaluateTruncated to handle arithmetic shift (including those with vector splat shift amount) 2017-08-16 22:42:38 +00:00
Instrumentation [dfsan] Add explicit zero extensions for shadow parameters in function wrappers. 2017-08-17 14:14:25 +00:00
ObjCARC Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Scalar Reapply: [ADCE][Dominators] Teach ADCE to preserve dominators 2017-08-17 01:41:49 +00:00
Utils Merge debug info when hoist then-else code to if. 2017-08-16 01:55:26 +00:00
Vectorize [LV] Using VPlan to model the vectorized code and drive its transformation 2017-08-17 09:29:59 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00