| Commit message (Collapse) | Author | Age | Files | Lines | 
| ... |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
argument attribute""
This reverts also r275029, "Update Clang tests after adding inference for the returned argument attribute"
It broke LTO build. Seems miscompilation.
llvm-svn: 275756
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
returned argument attribute"
This reverts commit r275043 after reapplying the underlying LLVM commit.
llvm-svn: 275679
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
-fxray-instrument: enables XRay annotation of IR
-fxray-instruction-threshold: configures the threshold for function size (looking at IR instructions), and allow LLVM to decide whether to add the nop sleds later on in the process.
Also implements the related xray_always_instrument and xray_never_instrument function attributes.
Patch by Dean Michael Berris.
llvm-svn: 275330
 | 
| | 
| 
| 
|  | 
llvm-svn: 275128
 | 
| | 
| 
| 
|  | 
llvm-svn: 275127
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Summary:
Nested if statements can generate empty BBs whose terminator branches 
unconditionally to its successor. These branches are not eliminated
to help generate better line number information in some cases, but there
is no reason to keep the empty blocks that result from nested ifs.
Reviewers: mehdi_amini, dblaikie, echristo
Subscribers: mehdi_amini, cfe-commits
Differential review: http://reviews.llvm.org/D11360
 
llvm-svn: 275115
 | 
| | 
| 
| 
| 
| 
|  | 
the builtins.
llvm-svn: 275049
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
argument attribute
The associated backend change is causing miscompiles from the AArch64 backend.
llvm-svn: 275043
 | 
| | 
| 
| 
| 
| 
|  | 
Adjusting tests after r275027.
llvm-svn: 275029
 | 
| | 
| 
| 
|  | 
llvm-svn: 275012
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
implement pextrw/pinsertw MMX intrinsics instead of trying to use native IR.
Without this we end up generating code that doesn't use mmx registers and probably doesn't work well with other mmx intrinsics.
llvm-svn: 274968
 | 
| | 
| 
| 
|  | 
llvm-svn: 274965
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Place the structure data into `cfstring`.  This both isolates the structures to
permit coalescing in the future (by the linker) as well as ensures that it
doesnt get marked as read-only data.  The structures themselves are not
read-only, only the string contents.
llvm-svn: 274956
 | 
| | 
| 
| 
| 
| 
|  | 
and don't have custom handling in CGBuiltins.cpp either.
llvm-svn: 274825
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
This reinstates commits r273280 and r273289.
Original Review: http://reviews.llvm.org/D21414.
llvm-svn: 274791
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
The builtin was renamed in r274770.  But __syncthreads is part of our
user-facing API, so we need to keep the name as-is.
Patch by Justin Bogner.
llvm-svn: 274780
 | 
| | 
| 
| 
| 
| 
|  | 
The ptx spellings were removed from LLVM in r274769.
llvm-svn: 274770
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This reverts commit r273289, which was a follow to r273280, which was
reverted because the change was not properly approved.
llvm-svn: 274767
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Revision r178818 added tests for TBAA but was missing negative tests to ensure
that TBAA markers are not emitted when TBAA is off.
Differential Revision: http://reviews.llvm.org/D21295
llvm-svn: 274610
 | 
| | 
| 
| 
| 
| 
|  | 
makes them the same as what is done when using the SSE builtins for these same encodings.
llvm-svn: 274608
 | 
| | 
| 
| 
|  | 
llvm-svn: 274603
 | 
| | 
| 
| 
| 
| 
|  | 
Differential Revision: http://reviews.llvm.org/D21792
llvm-svn: 274559
 | 
| | 
| 
| 
|  | 
llvm-svn: 274544
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
add abs intrinsics that use native LLVM-IR.
change _mm512_mask[z]_and_epi{32|64} to use select intrinsic
Differential Revision: http://reviews.llvm.org/D21973
llvm-svn: 274542
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
_mm{|256|512}_mask_cvt{s|us|}epi16_storeu_epi8 intrinsics
Differential Revision: http://reviews.llvm.org/D21729
llvm-svn: 274532
 | 
| | 
| 
| 
| 
| 
|  | 
when the second source is unused. Rewrite immediate extractions in shuffle intrinsics to be in ((c >> x) & y) form instead of ((c & z) >> x). This way only x varies between each use instead of having to vary x and z.
llvm-svn: 274525
 | 
| | 
| 
| 
|  | 
llvm-svn: 274523
 | 
| | 
| 
| 
|  | 
llvm-svn: 274502
 | 
| | 
| 
| 
|  | 
llvm-svn: 274492
 | 
| | 
| 
| 
| 
| 
|  | 
extension of the result of a v2i1 or v4i1 masked compare. This way we emit something that the backend easily interprets as a concatenation rather than a true shuffle. This delivers slightly better codegen with the current backend capabilities.
llvm-svn: 274484
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
generic IR
llvm companion patch imminent
llvm-svn: 274442
 | 
| | 
| 
| 
| 
| 
|  | 
native IR.
llvm-svn: 274425
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Summary:
The TargetInfo for 'renderscript32' and 'renderscript64' ArchTypes are
subclasses of ARMleTargetInfo and AArch64leTargetInfo respectively.
RenderScript32TargetInfo modifies the ARM ABI to set LongWidth and
LongAlign to be 64-bits.  Other than this modification, the underlying
TargetInfo base classes is initialized as if they have "armv7" and
"aarch64" architecture type respectively.
Reviewers: rsmith, echristo
Subscribers: aemerson, tberghammer, cfe-commits, danalbert, mehdi_amini, srhines
Differential Revision: http://reviews.llvm.org/D21334
llvm-svn: 274409
 | 
| | 
| 
| 
| 
| 
|  | 
Differential Revision: http://reviews.llvm.org/D20499
llvm-svn: 274396
 | 
| | 
| 
| 
|  | 
llvm-svn: 274387
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
With all MaterializeTemporaryExprs coming with a ExprWithCleanups, it's
easy to add correct lifetime.end marks into the right RunCleanupsScope.
Differential Revision: http://reviews.llvm.org/D20499
llvm-svn: 274385
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
This is important for building libclc. Since r273039 tests are failing
due to now emitting calls to these functions instead of emitting the
DAG node. The libm function names are implemented for OpenCL, and should
call the locally defined versions, so -fno-builtin is used. The IR
Some functions use the __builtins and expect the intrinsics to be
emitted. Without this we end up with nobuiltin calls to intrinsics
or to unsupported library calls.
llvm-svn: 274370
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
instruction set
Differential Revision: http://reviews.llvm.org/D21734
llvm-svn: 274218
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Emit the underlying storage offset in addition to the starting bit
position of the field.
This fixes PR28162.
Differential Revision: http://reviews.llvm.org/D21783
llvm-svn: 274201
 | 
| | 
| 
| 
| 
| 
|  | 
llvm\test\CodeGen\X86\sse2-intrinsics-fast-isel-x86_64.ll
llvm-svn: 274126
 | 
| | 
| 
| 
| 
| 
|  | 
Differential Revision: http://reviews.llvm.org/D21746
llvm-svn: 274110
 | 
| | 
| 
| 
| 
| 
|  | 
The mangling of their names was changed in order to support arbitrary addrspace pointers as arguments in rL274043.
llvm-svn: 274044
 | 
| | 
| 
| 
| 
| 
|  | 
The final change is required to extend the back-end's AtomicExpandPass that was implemented for Sparc (64 bit) and later extended for Sparc (32 bit).
llvm-svn: 274012
 | 
| | 
| 
| 
| 
| 
|  | 
Differential Revision: http://reviews.llvm.org/D21504
llvm-svn: 273812
 | 
| | 
| 
| 
| 
| 
|  | 
larger than 16. This was accidentally broken in r272246.
llvm-svn: 273775
 | 
| | 
| 
| 
| 
| 
|  | 
Patch by Lei Zhang!
llvm-svn: 273735
 | 
| | 
| 
| 
| 
| 
|  | 
Differential Revision: http://reviews.llvm.org/D21054
llvm-svn: 273730
 | 
| | 
| 
| 
| 
| 
|  | 
Fixing build issue for test test/CodeGen/struct-union-BE.c.
llvm-svn: 273675
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
smaller than register as argument in variadic functions on
big endian architectures.
Differential Revision: http://reviews.llvm.org/D21611
llvm-svn: 273665
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Summary: InstCombine needs to be performed after simplifycfg and sroa, otherwise it may make bad optimization decisions.
Reviewers: davidxl, wmi, dnovillo
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D21568
llvm-svn: 273606
 |