llvm-project/llvm/lib/Transforms
Alexander Potapenko 014ff63f24 [MSan] Don't create zero offsets in getShadowPtrForArgument(). NFC
For MSan instrumentation with MS.ParamTLS and MS.ParamOriginTLS being
TLS variables, the CreateAdd() with ArgOffset==0 is a no-op, because
the compiler is able to fold the addition of 0.

But for KMSAN, which receives ParamTLS and ParamOriginTLS from a call
to the runtime library, this introduces a stray instruction which
complicates reading/testing the IR.

Differential revision: https://reviews.llvm.org/D44514

llvm-svn: 327829
2018-03-19 10:03:47 +00:00
..
AggressiveInstCombine [AggressiveInstCombine] Use use_empty() instead of !getNumUses(), NFC 2018-03-02 23:22:49 +00:00
Coroutines Remove unused variable; NFC 2018-03-15 02:58:36 +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 [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00
InstCombine [InstCombine] peek through unsigned FP casts for zero-equality compares (PR36682) 2018-03-18 15:53:02 +00:00
Instrumentation [MSan] Don't create zero offsets in getShadowPtrForArgument(). NFC 2018-03-19 10:03:47 +00:00
ObjCARC ObjCARC: address review comments from majnemer 2018-03-12 23:48:20 +00:00
Scalar [LICM] Salvage DI from dying Instructions 2018-03-18 15:59:19 +00:00
Utils [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00
Vectorize [LV] Test commit. Removing white space. 2018-03-15 19:34:27 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
LLVMBuild.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00