- Jun 21, 2016
-
-
Matt Arsenault authored
Specific instances of intrinsic calls may want to be convergent, such as certain register reads but the intrinsic declaration is not. llvm-svn: 273188
-
Rafael Espindola authored
llvm-svn: 273187
-
Sanjay Patel authored
llvm-svn: 273186
-
Evandro Menezes authored
llvm-svn: 273185
-
Lang Hames authored
llvm-svn: 273184
-
Lang Hames authored
llvm-svn: 273183
-
Matt Arsenault authored
The implicit operand is added by the initial instruction construction, so this was adding an additional vcc use. The original one was missing the undef flag the original condition had, so the verifier would complain. llvm-svn: 273182
-
Matt Arsenault authored
This will help sneak undefs past GVN into the DAG for some tests. Also add missing intrinsic for rsq_legacy, even though the node was already selected to the instruction. Also start passing the debug location to intrinsic errors. llvm-svn: 273181
-
Sanjay Patel authored
llvm-svn: 273180
-
Daniel Jasper authored
llvm-svn: 273179
-
Matt Arsenault authored
llvm-svn: 273178
-
Matt Arsenault authored
Backends may want to report errors on resources other than stack size. llvm-svn: 273177
-
Etienne Bergeron authored
Summary: The RoundUpToInstrBoundary determines intructions boundary and it's used to determine how to patch (intercept) functions. The current x64-bit implementation is incomplete. This patch is adding patterns observed when trying to sanitize a 64-bit executable on my computer. Thw two current functions not intercepted are: ``` RaiseExceptionStub: 000000007720C3B0 EB 06 jmp RaiseException (07720C3B8h) 000000007720C3B2 90 nop 000000007720C3B3 90 nop 000000007720C3B4 90 nop 000000007720C3B5 90 nop 000000007720C3B6 90 nop 000000007720C3B7 90 nop RaiseException: 000000007720C3B8 FF 25 3A 18 09 00 jmp qword ptr [__imp_RaiseException (07729DBF8h)] 000000007720C3BE 8B 44 24 54 mov eax,dword ptr [rsp+54h] 000000007720C3C2 85 C0 test eax,eax 000000007720C3C4 0F 84 F5 05 00 00 je Wow64NtCreateKey+12Fh (07720C9BFh) ``` ``` CreateThreadStub: 0000000077215A10 48 83 EC 48 sub rsp,48h 0000000077215A14 48 8B 44 24 78 mov rax,qword ptr [rsp+78h] 0000000077215A19 48 89 44 24 38 mov qword ptr [rsp+38h],rax 0000000077215A1E 8B 44 24 70 mov eax,dword ptr [rsp+70h] ``` Reviewers: rnk Subscribers: wang0109, chrisha Differential Revision: http://reviews.llvm.org/D21519 llvm-svn: 273176
-
Davide Italiano authored
Update an existing test to exercise the new functionality, while I'm here. llvm-svn: 273175
-
Evgeniy Stepanov authored
A runtime flag to enable checking in send* interceptors. Checking is enabled by default. llvm-svn: 273174
-
Sanjay Patel authored
llvm-svn: 273173
-
Matt Arsenault authored
llvm-svn: 273172
-
Adrian McCarthy authored
Trying to expand short names with a relative path doesn't work, so this first gets the module name to get a full path (which can still have short names). llvm-svn: 273171
-
Sanjay Patel authored
llvm-svn: 273170
-
Rafael Espindola authored
With this ARM fast isel knows that PIE variable are not preemptable. llvm-svn: 273169
-
Tom Stellard authored
Reviewers: arsenm, kzhuravl, rafael Subscribers: arsenm, llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21401 llvm-svn: 273168
-
Rafael Espindola authored
llvm-svn: 273167
-
Tom Stellard authored
Reviewers: arsenm, rafael, kzhuravl Subscribers: rafael, arsenm, llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21400 llvm-svn: 273166
-
Sam Parker authored
TargetLowering and DAGToDAG are used to combine ADDC, ADDE and UMLAL dags into UMAAL. Selection is split into the two phases because it is easier to match the two patterns at those different times. Differential Revision: http://http://reviews.llvm.org/D21461 llvm-svn: 273165
-
Rafael Espindola authored
Reduces a bit of code duplication and clarify where we are interested just on position independence and no the location of the symbol. llvm-svn: 273164
-
David Majnemer authored
llvm-svn: 273163
-
David Majnemer authored
This reverts commit r273160, reapplying r273132. RecursivelyDeleteTriviallyDeadInstructions cannot be called on a parentless Instruction. llvm-svn: 273162
-
- Jun 20, 2016
-
-
Aaron Ballman authored
Removing an unused switch statement that has only a default label. This happens to also eliminate an instance of switchception. NFC intended. llvm-svn: 273161
-
Cong Liu authored
This reverts commit r273132. Breaks multiple test under /llvm/test:Transforms (e.g. llvm/test:Transforms/LoopIdiom/basic.ll.test) under asan. llvm-svn: 273160
-
Vassil Vassilev authored
Handles the cases where old __va_list_tag is coming from a module and the new is not, needing an update record. Fixes https://llvm.org/bugs/show_bug.cgi?id=27890 Patch by Cristina Cristescu, Richard Smith and me. llvm-svn: 273159
-
Paul Robinson authored
Same tactic as linux-header-search.cpp and android-ndk-standalone.cpp. llvm-svn: 273158
-
Rafael Espindola authored
Thanks to Will Dietz for reporting the issue. llvm-svn: 273157
-
George Rimar authored
llvm-svn: 273156
-
George Rimar authored
llvm-svn: 273155
-
George Rimar authored
llvm-svn: 273154
-
Simon Pilgrim authored
llvm-svn: 273153
-
George Rimar authored
With fix: -soname flag was not set in testcase. Hash calculated for base def was different on local and bot machines because filename fos used for calculating. Initial commit message: Patch implements basic support of versioned symbols. There is no wildcards patterns matching except local: *; There is no support for hierarchies. There is no support for symbols overrides (@ vs @@ not handled). This patch allows programs that using simple scripts to link and run. Differential revision: http://reviews.llvm.org/D21018 llvm-svn: 273152
-
Simon Atanasyan authored
Now it conforms requirement for std::stable_sort predicates. That resolves build-bot failures on Windows hosts. llvm-svn: 273151
-
Cong Liu authored
llvm-svn: 273150
-
Patrik Hagglund authored
llvm-svn: 273149
-