Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM pulldown and upstream SYCL patches #48

Merged
merged 2,311 commits into from
Mar 27, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2311 commits
Select commit Hold shift + click to select a range
3364934
[Codegen] fix typos in test case
higuoxing Mar 2, 2019
23b1dfe
[Transforms] fix typo in test case. NFC.
higuoxing Mar 2, 2019
9b468c0
[clang-format] clang-format off/on not respected when using C Style c…
mydeveloperday Mar 2, 2019
37a63a7
Use SDValue::getConstantOperandAPInt helper where possible. NFCI.
RKSimon Mar 2, 2019
f436f70
Fix update_mir_test_checks.py to run on python3
RKSimon Mar 2, 2019
31291a4
Add test case for add to sub transformation. NFC
deadalnix Mar 2, 2019
113c4c1
Fix gcc build for r355249
labath Mar 2, 2019
42ad868
[InstCombine] add tests for add+smin/smax; NFC
rotateright Mar 2, 2019
1f65903
[InstCombine] move add after smin/smax
rotateright Mar 2, 2019
8085c1b
[lldb] [lldbtest] Fix getBuildFlags() not to use libstdc++ on NetBSD
mgorny Mar 2, 2019
c10a884
[lldb] [lit] Pass -pthread on NetBSD as well
mgorny Mar 2, 2019
84f2803
gn build: Add a cfi/sources target.
nico Mar 2, 2019
e52b84e
Reinstate UNSUPPORTED: linux on stop-hook-threads.test
labath Mar 2, 2019
315d0bb
Add test case for add to sub transformation. NFC
deadalnix Mar 2, 2019
47c777f
Make the new SanitizerMask code added in r355190 constexpr.
jyknight Mar 2, 2019
1ce395f
Tweak r355278 for compatibility with gcc 6 and earlier.
jyknight Mar 2, 2019
cf03bd9
Tweak r355278 for compatibility with gcc 6 and earlier.
jyknight Mar 2, 2019
ce68659
[X86] Prefer VPBLENDD for v2i64/v4i64 blends with AVX2.
topperc Mar 3, 2019
d3516b5
[clang] [ToolChains/NetBSD] Support relative libc++ header path
mgorny Mar 3, 2019
8f04766
[llvm] [Support] Reimplement getMainExecutable() using sysctl on NetBSD
mgorny Mar 3, 2019
981f216
[DemandedBits] Optimize a find()+insert pattern with try_emplace and …
MaskRay Mar 3, 2019
e39ec43
[lldb] [Process/gdb-remote] Use '127.0.0.1' in ConnectLocally()
mgorny Mar 3, 2019
24659eb
Remove large amount of empty lines mid-file. NFC
christinaa Mar 3, 2019
11149ea
[X86] Pull out combineToConsecutiveLoads helper. NFCI.
RKSimon Mar 3, 2019
d8e91a5
[X86] getShuffleScalarElt - peek through insert/extract subvector nodes.
RKSimon Mar 3, 2019
e48be5d
Remove unused variable. NFCI.
RKSimon Mar 3, 2019
5fa53d1
[DemandedBits] Remove some redundancy in the work list
MaskRay Mar 3, 2019
d341a94
Add extra ops in add to sub transform test in order to enforce proper…
deadalnix Mar 3, 2019
2a70703
[ValueTracking] do not try to peek through bitcasts in computeKnownBi…
rotateright Mar 3, 2019
e076491
[InstCombine] remove stale FIXME comment from test; NFC
rotateright Mar 3, 2019
fae03d8
Modules: Document that ReadASTCore exits its final loop via `return`,…
dexonsmith Mar 3, 2019
e9e4a0f
[X86] Regenerate test to get the full FP operands printed. NFC
topperc Mar 3, 2019
195a62e
[WebAssembly] Delete ThrowUnwindDest map from WasmEHFuncInfo
aheejin Mar 3, 2019
088b1c9
[analyzer] Enable subcheckers to possess checker options
Szelethus Mar 4, 2019
a761f9f
[SubtargetFeatuers] Simplify the code used to imply features from CPU…
topperc Mar 4, 2019
b306ef1
[SubtargetFeatures] Don't call ApplyFeatureFlag if the feature name i…
topperc Mar 4, 2019
69abb15
[SubtargetFeatures] Add operator< for comparing SubtargetInfoKV objec…
topperc Mar 4, 2019
672bec2
[InstCombine] Mark debug values as unavailable after DCE.
dcci Mar 4, 2019
2d8be64
[llvm] [Support] Revert "Reimplement getMainExecutable() using sysctl…
mgorny Mar 4, 2019
daea28a
[DebugInfo] Construct nested types on behalf of owner CU
eleviant Mar 4, 2019
65a401f
[AArch64/ARM] Fix two compiler warnings in InstructionSelector, NFCI
hahnjo Mar 4, 2019
181afc7
[ARM] Fix selection of VLDR.16 instruction with imm offset
ostannard Mar 4, 2019
ded1180
[LLD] add test for line number info related to differrent .text sections
avl-llvm Mar 4, 2019
09d8ea5
[X86] Avoid codegen changes when DBG_VALUE appears between lowered se…
jmorse Mar 4, 2019
be3281a
[MCA] Highlight kernel bottlenecks in the summary view.
Mar 4, 2019
9735d90
[MCA] Correctly initialize struct SummaryView::BackPressureInfo.
Mar 4, 2019
6023d59
[AMDGPU][MC] Enable lds_direct operand for v_readfirstlane_b32, v_rea…
dpreobra Mar 4, 2019
3437142
[MCA] Remove unused methods. NFC
Mar 4, 2019
0c5b6ed
Unbreak shared library linkage on DragonFlyBSD.
krytarowski Mar 4, 2019
eeb1144
[X86] Regenerate illegal type load test with non-undef load address.
RKSimon Mar 4, 2019
881e83d
Give builtins and alloc/dealloc operators the default calling convent…
Mar 4, 2019
2145054
[libc++] decoupling Freestanding atomic<T> from libatomic.a
ldionne Mar 4, 2019
502ba11
Revert duplicate check for DragonFly BSD
krytarowski Mar 4, 2019
de11105
[lldb] [test] Mark failing tests XFAIL on NetBSD
mgorny Mar 4, 2019
f3feb6a
[WebAssembly] Add support for data sections in the assembler.
aardappel Mar 4, 2019
ac8d1b7
Enable _rotl, _lrotl, _rotr, _lrotr on all platforms.
Mar 4, 2019
aa51e6a
Refactor user/group name resolving code
labath Mar 4, 2019
509a8a3
[DAGCombiner][X86][SystemZ][AArch64] Combine some cases of (bitcast (…
topperc Mar 4, 2019
05e2335
[MC] Teach ELFObjectWriter that parse-time variables do not appear in
niravhdave Mar 4, 2019
8acb0d9
Re-commit r355104: "[AArch64][GlobalISel] Add support for 64 bit vect…
aemerson Mar 4, 2019
2729a91
[Subtarget] Follow up to r355167, add another set of curly braces to …
topperc Mar 4, 2019
8670faf
[InstCombine] Add tests for add nsw + sadd.with.overflow; NFC
nikic Mar 4, 2019
bb4d4e2
Fix Windows build after UserIDResolver patch.
Mar 4, 2019
db29a3a
[PGO] Context sensitive PGO (part 3)
xur-llvm Mar 4, 2019
a4a09b2
[PGO] Clang part of change for context-sensitive PGO (part1)
xur-llvm Mar 4, 2019
9adbbcb
[ASTImporter] Handle built-in when importing SourceLocation and FileID
shafik Mar 4, 2019
394d4cc
Order File Instrumentation: add clang support for -forder-file-instru…
manman-ren Mar 4, 2019
8b73ab2
Install GCC 5 on buildbots to replace GCC 4.9.
EricWF Mar 4, 2019
fc778fa
[libc++] Remove old CMake workaround
ldionne Mar 4, 2019
6e32b46
[ConstantHoisting] avoid hang/crash from unreachable blocks (PR40930)
rotateright Mar 4, 2019
e800a32
Fix wrong enum value in switch.
eugenis Mar 4, 2019
0632e12
[GlobalISel][AArch64] Legalize vector G_SELECT
Mar 4, 2019
5be71fa
[build] Rename clang-headers to clang-resource-headers
smeenai Mar 4, 2019
0ca4f84
[build.py] Allow clang-cl to build files starting with '/U'
bulbazord Mar 4, 2019
805e710
Move ProcessInfo from Host to Utility.
Mar 4, 2019
4737abc
Order File Instrumentation: dump the data in compiler-rt
manman-ren Mar 4, 2019
caf62b1
[GlobalISel][AArch64] Add selection support for G_EXTRACT_VECTOR_ELT
Mar 4, 2019
3b2d0bc
[CodeGenPrepare] avoid crashing on non-canonical/degenerate code
rotateright Mar 4, 2019
090683b
[NFC] Fix PGO link error in shared libs build
rupprecht Mar 4, 2019
8cee2e8
[sanitizer] Intercept bzero.
eugenis Mar 4, 2019
53d7c5c
[msan] Instrument x86 BMI intrinsics.
eugenis Mar 4, 2019
fd2d89f
Fix invalid target triples in tests. (NFC)
fhahn Mar 4, 2019
03d5348
Attemp to fix build brokage due to D57530.
manman-ren Mar 4, 2019
d38e41e
[DataFormatters] Fix regression in libc++ std::atomic formatter cause…
shafik Mar 5, 2019
6ed1910
Revert "[DataFormatters] Fix regression in libc++ std::atomic formatt…
shafik Mar 5, 2019
e94add2
[Host] Fix the build (and the modules build).
dcci Mar 5, 2019
c2b3f62
[cmake] Create exports for umbrella library targets
smeenai Mar 5, 2019
4ce918e
[NFC][Sanitizer] Cleanup ASan's GetStackTrace implementation
yln Mar 5, 2019
8800d30
[lldbtest] Check against the correct name for libcxxabi (macOS).
dcci Mar 5, 2019
31b31e5
Attemp to fix windows profile-rt build breakage.
manman-ren Mar 5, 2019
3fc1a73
Fix the Xcode project for UserIDResolver.
jimingham Mar 5, 2019
fc18844
[testsuite] Port crashlog and dependencies to Python 3.
dcci Mar 5, 2019
d82247c
[BPF] Do not generate BTF sections unnecessarily
yonghong-song Mar 5, 2019
6a6ce5b
[X86] Reduce some patterns by using FP instructions for integer types…
topperc Mar 5, 2019
719e786
PHI nodes are not `FPMathOperator` s
sanjoy Mar 5, 2019
ff4bb36
Revert compiler-rt diffs for order file instrumentation to get bot gr…
manman-ren Mar 5, 2019
814ad73
Revert "[testsuite] Port crashlog and dependencies to Python 3."
dcci Mar 5, 2019
3fd4a96
[clang-format][docs][NFC] Fix example for Allman brace breaking style
jkorous-apple Mar 5, 2019
e69290d
Make VCRuntime ABI configuration a first-class option.
EricWF Mar 5, 2019
1c014d7
Fix -fsanitize=vptr badness in <__debug>
EricWF Mar 5, 2019
06f64d5
Replace clang::FileData with llvm::vfs::Status
harlanhaskins Mar 5, 2019
0d973a5
Revert "[NFC][Sanitizer] Cleanup ASan's GetStackTrace implementation"
vitalybuka Mar 5, 2019
3eb1944
[NFC] Move asan_inited and size reset on top of ::UnwindImpl
vitalybuka Mar 5, 2019
b214bd4
[NFC] Put bp into Unwind(.. false) for consistency
vitalybuka Mar 5, 2019
3d7e9c8
[NFC] Return on SANITIZER_MIPS && !IsValidFrame
vitalybuka Mar 5, 2019
efec139
[AMDGPU] Implement AMDGPUMCInstrAnalysis
scott-linder Mar 5, 2019
013e17f
[ARM][MC] Update one test case in 'test/MC/Disassembler/ARM/invalid-a…
higuoxing Mar 5, 2019
81dbc02
[Expression] Remove unused parameter from Evaluate
bulbazord Mar 5, 2019
4d9d225
[NFC] Reorder ifs in BufferedStackTrace::UnwindImpl
vitalybuka Mar 5, 2019
7cbb408
[NFC] Move ScopedUnwinding from .h to .cc
vitalybuka Mar 5, 2019
9cfe7e8
[PowerPC] fix killed/dead flag after convert x-form to d-form tranfor…
Mar 5, 2019
7a091ae
[LangRef] Add 'callbr' instruction to the 'blockaddress' section.
topperc Mar 5, 2019
1ac22bf
[NFC] Move isUnwinding check into ScopedUnwinding
vitalybuka Mar 5, 2019
816e7b4
[NFC] Simplify BufferedStackTrace::UnwindImpl
vitalybuka Mar 5, 2019
5eaa55f
[ELF][test] chmod u+w to prevent annoying rm prompt
MaskRay Mar 5, 2019
81eec58
[AMDGPU] Omit KILL instructions from hazard recognizer
dstutt Mar 5, 2019
4a9086b
[ARM] Fix select_cc lowering for fp16
ostannard Mar 5, 2019
f509fe4
Add wildcard support to all update_*_test_checks.py scripts (PR37500)
RKSimon Mar 5, 2019
c739761
[WebAssembly] Rename a variable in LateEHPrepare (NFC)
aheejin Mar 5, 2019
b30c1d5
Fix embedded Python initialization according to changes in version 3.7
tkrasnukha Mar 5, 2019
3bcb0aa
[SCEV] Add some extra tests for IndVarSimplifys loop exit values. NFC.
davemgreen Mar 5, 2019
41e3892
[ASTImporter] Fix redecl failures of Class and ClassTemplate
martong Mar 5, 2019
1e93080
[llvm-objcopy] - Report "no zlib available" error properly when --com…
Mar 5, 2019
7523f74
[lldb] Fix linux host build after r355342
alexfh Mar 5, 2019
4511f3f
[SCEV] Ensure that isHighCostExpansion takes into account what is bei…
davemgreen Mar 5, 2019
9e3f7d8
[AMDGPU] Fix DPP operand order in atomic optimizer
perlfu Mar 5, 2019
8a3b7d3
[ASTMatchers] Improved formatting in a documentation comment
gribozavr Mar 5, 2019
8554783
[analyzer] Fix taint propagation in GenericTaintChecker
Szelethus Mar 5, 2019
826624f
[sanitizers] Don't use Windows Trace Logging with Clang in MSVC mode …
mstorsjo Mar 5, 2019
a559993
One more UserIDResolver fix
labath Mar 5, 2019
ade3c70
[llvm-objcopy] - Simplify `isCompressable` and fix the issue relative.
Mar 5, 2019
4d93b9c
[X86] Add test cases for D58874
RKSimon Mar 5, 2019
401997d
[clang-tidy] Fix bugprone-string-constructor crash
alexfh Mar 5, 2019
bc6b225
Adds property to force enabling of GDB JIT loader for MacOS
yurydelendik Mar 5, 2019
b558032
[libc++] Change memory_order to an enum class
ldionne Mar 5, 2019
a3d06cc
[X86] Add SADDO/UADDO and SSUBO/USUBO combine tests
RKSimon Mar 5, 2019
6567657
Fix typo in constant vector
RKSimon Mar 5, 2019
6228629
Revert "Fix embedded Python initialization according to changes in ve…
tkrasnukha Mar 5, 2019
f011e53
[X86] Add SMULO/UMULO combine tests
RKSimon Mar 5, 2019
00d5847
Revert "[GlobalISel][AArch64] Add selection support for G_EXTRACT_VEC…
Mar 5, 2019
130322e
[libc++] Fix <atomic> failures on GCC
ldionne Mar 5, 2019
ab85193
[HIP] Do not unbundle object files for -fno-gpu-rdc
yxsamliu Mar 5, 2019
8b72080
[SDAG] move FP constant folding to helper function; NFC
rotateright Mar 5, 2019
40441aa
[X86][SSE] Regenerate vector zero tests
RKSimon Mar 5, 2019
05812b6
[lldb] Disable some of TestJITLoaderGDB.py tests on Windows
yurydelendik Mar 5, 2019
34d3b80
TableGen: Allow lists to be concatenated through '#'
javedabsar Mar 5, 2019
70b082e
Revert "[lldbtest] Check against the correct name for libcxxabi (macO…
dcci Mar 5, 2019
7421f7b
[scudo][standalone] Add bytemap classes
Mar 5, 2019
1061cb6
[libcxx] Revert set of atomic patches that broke lldb.
dcci Mar 5, 2019
1af5bd5
[OPENMP]Target region: emit const firstprivates as globals with constant
alexey-bataev Mar 5, 2019
071949c
Allow bundle size to be 0 in clang-offload-bundler
yxsamliu Mar 5, 2019
add2d2e
[SLP] Fix invalid triple in X86 tests
fhahn Mar 5, 2019
c5be267
[CUDA][HIP][Sema] Fix template kernel with function as template param…
yxsamliu Mar 5, 2019
bb322e7
[DataFormatters] Fix regression in libc++ std::atomic formatter cause…
shafik Mar 5, 2019
572e94c
[X86] Enable 8-bit OR with disjoint bits to convert to LEA
topperc Mar 5, 2019
216bf7f
[X86] Allow 8-bit INC/DEC to be converted to LEA.
topperc Mar 5, 2019
4a9dd7c
[X86] Enable 8-bit SHL to convert to LEA
topperc Mar 5, 2019
8703977
AMDGPU: Preserve undef flag when expanding SI_IF
arsenm Mar 5, 2019
6de760a
Reinstate libc++ patches now that the lldb formatter has been updated.
dcci Mar 5, 2019
16fc15a
[Subtarget] Move SubtargetFeatureKV/SubtargetInfoKV from SubtargetFea…
topperc Mar 5, 2019
ca26808
[Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDes…
topperc Mar 5, 2019
f124e75
[X86] In X86DomainReassignment.cpp add enclosed registers to Enclosed…
weiguozhi Mar 5, 2019
2982b84
[Subtarget] Merge ProcSched and ProcDesc arrays in MCSubtargetInfo in…
topperc Mar 5, 2019
7c03c58
[PGO] Clang part of change for context-sensitive PGO (part2)
xur-llvm Mar 5, 2019
57fd733
Revert r355224 "[TableGen][SelectionDAG][X86] Add specific isel match…
topperc Mar 5, 2019
88e1514
[clang-format] Fix lambdas returning template specialization that con…
jkorous-apple Mar 5, 2019
14c1e08
Add logging to SBCompileUnit::GetNumLineEntries.
jasonmolenda Mar 5, 2019
c38831e
[NFC][CodeGen][X86][AArch64] Add tests for C++ std::midpoint() patter…
LebedevRI Mar 5, 2019
ef9d6ae
[WebAssembly] Disable MachineBlockPlacement pass
aheejin Mar 5, 2019
47db226
[WebAssembly] Test change after disabling MachineBlockPlacement
aheejin Mar 5, 2019
1c4bab3
[OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks
francisvm Mar 5, 2019
b1e3656
[cmake] Add libRemarks to LLVM_DISTRIBUTION_COMPONENTS
francisvm Mar 5, 2019
cb056a1
[Remarks][NFC] Rename RemarkParser to YAMLRemarkParser
francisvm Mar 5, 2019
c3a0cd2
[docs] Update the list of ThreadSanitizer supported OSes
vitalybuka Mar 5, 2019
d15f3b1
[lldbsuite, windows] Skip the TestEvents tests on Windows
sstamenova Mar 5, 2019
5c644c9
[WebAssembly] Simplify iterator navigations (NFC)
aheejin Mar 5, 2019
b0bfac4
[docs] Add some architectures into the list of supported ThreadSaniti…
vitalybuka Mar 5, 2019
2717b76
[lit, windows] Disable stop-hook-threads on Windows
sstamenova Mar 5, 2019
f228b2c
Revert logging addition to SBCompileUnit::GetNumLineEntries,
jasonmolenda Mar 5, 2019
10de395
[clang-format] broken after lambda with return type template with boo…
mydeveloperday Mar 5, 2019
bbdddb7
[libc++] Only add dylib-related features when using the system's libc++
ldionne Mar 5, 2019
98d412f
[X86][NFC] Add proper test for promotion of i8 cmov's of trunc's
LebedevRI Mar 5, 2019
1e4c5d3
[AtomicExpand] Allow libcall expansion for non-zero address spaces
preames Mar 5, 2019
1d8d637
Revert r355432 for buildbot failures in ppc64be-linux and s390x-linux
xur-llvm Mar 5, 2019
74fea36
[opt] Report if the provided architecture is invalid.
fhahn Mar 5, 2019
4cc567b
[DWARFFormValue] Don't consider DW_FORM_data4/8 to be section offsets.
JDevlieghere Mar 5, 2019
d823020
Remove tautological #ifdefs (NFC)
adrian-prantl Mar 5, 2019
bd4bf82
[SBAPI] Don't check IsValid in constructor
JDevlieghere Mar 6, 2019
baf5664
[Reproducers] Add SBReproducer macros
JDevlieghere Mar 6, 2019
13bbcb3
[ARM] Sink zext/sext operands for add and sub to enable vsubl generat…
fhahn Mar 6, 2019
f0c21e2
Revert "[AtomicExpand] Allow libcall expansion for non-zero address s…
hctim Mar 6, 2019
8f7caae
[Fixed Point Arithmetic] Fixed Point and Integer Conversions
PiJoules Mar 6, 2019
787fe33
[ExpressionParser] Test GetClangResourceDir
bulbazord Mar 6, 2019
504be84
[Reproducers] Fix warnings without asserts
JDevlieghere Mar 6, 2019
3c28c0b
[Reproducers] Undef LLDB_REPRO_INSTR_TRACE
JDevlieghere Mar 6, 2019
61f1b70
Replace debug-only assert with a plain old assert.
adrian-prantl Mar 6, 2019
dbdfd43
gn build: Add 32-bit Linux support.
pcc Mar 6, 2019
dd44067
[BinaryFormat] Add DT_USED tag into dynamic section.
higuoxing Mar 6, 2019
7e23df4
[Reproducers] Don't intercept SBDebugger::SetInputFileHandle
JDevlieghere Mar 6, 2019
2e3e65f
[Reproducers] Enable replay from SBRepro.
JDevlieghere Mar 6, 2019
a4223f9
[ExpressionParser] Fix ComputeClangResourceDirectory for windows
bulbazord Mar 6, 2019
3c20b34
[WebAssembly] Remove trailing whitespaces in tests (NFC)
aheejin Mar 6, 2019
b459f18
Re-commit logging for SBCompileUnit::GetNumLineEntries.
jasonmolenda Mar 6, 2019
112ea33
[X86] Remove periods from the end of SubtargetFeature descriptions si…
topperc Mar 6, 2019
6a8aa0e
[NFC] Declare the member data of class PostGenericScheduler as "prote…
Mar 6, 2019
4cc9ff1
Change the scanning algorithm in DynamicLoaderDarwinKernel::SearchFor…
jasonmolenda Mar 6, 2019
9dda8f5
Modules: Add -Rmodule-import
dexonsmith Mar 6, 2019
704dfd6
ELF: Extract a non-ELFT base class for VersionNeedSection.
pcc Mar 6, 2019
5ee9abd
ELF: De-template OutputSection::finalize() and MipsGotSection::build(…
pcc Mar 6, 2019
c2d6b84
gn build: Merge r355439.
pcc Mar 6, 2019
5c80a26
[SYCL] Merge commit 'c2d6b84d3c7ec999ee2df9c3a061bd63c147f977' into u…
vladimirlaz Mar 22, 2019
02f6d68
[SYCL] Sync with 23c581c8c2be4cdc51b9b234ca4a77e9ac49cde8 SPIRV trans…
vladimirlaz Mar 19, 2019
e878f1d
[SYCL] Add option fsycl-allow-func-ptr which defaults to false
Mar 19, 2019
971fecd
[SYCL] fix MarkFunction ASTConsumer issue with delayed instantiations
Mar 19, 2019
afb4152
[SYCL] link in with -lsycl when -fsycl is used
mdtoguchi Mar 19, 2019
0738099
[SYCL] Add multiple target binaries support.
kbobrovs Mar 19, 2019
fbffaab
[SYCL] Enable FPGA memory attributes
vmaksimo Mar 19, 2019
ff0f21d
[SYCL] remove usage of SPIRV library and generate SPIRV binary via ll…
mdtoguchi Mar 19, 2019
f0d1636
[SYCL] Switch to use one definition of SYCL runtime classes in SYCL t…
Fznamznon Mar 19, 2019
873ad55
[SCYL] Revert SYCL __private address space value to 0.
alexeyvoronov-intel Mar 19, 2019
7edf29c
[SYCL] Fix accessor to subset of buffer indexing (compiler part)
Fznamznon Mar 19, 2019
ed0ea45
[SYCL] Captured enum variables are incorrect inside SYCL kernels for …
Mar 19, 2019
45b17d6
[SYCL] add optimized vec class constructors
hidekisaito Mar 19, 2019
8c7196b
[SYCL] Add support memory move of a buffer between different
alexeyvoronov-intel Mar 20, 2019
a2878e5
[SYCL] Returning an empty vector to program::get_binaries()
schittir Mar 20, 2019
d32a9f7
[SYCL] Changed the interface of the method scheduler::getDepEventsRec…
v-klochkov Mar 20, 2019
d3db958
[SYCL] Implemented some conversion and non-member functions for multi…
v-klochkov Mar 20, 2019
4af9b1b
[SYCL] Fix some issues with class atomic
jpeyton52 Mar 20, 2019
81fc528
[SYCL][NFC] Small refactoring
alexeyvoronov-intel Mar 20, 2019
a2b4e55
[SYCL] Rewrote the exception_list to make it conform with
shileiti Mar 20, 2019
09a19d2
[SYCL] Add support for multiple device binaries, extend device binary…
kbobrovs Mar 20, 2019
4a37c44
[SYCL] update test to conform to new model to generate SPIR-V
mdtoguchi Mar 20, 2019
6281b29
[SYCL] Add new mechanism to implement SYCL math built-ins.
alexeyvoronov-intel Mar 20, 2019
98325f1
[SYCL] Make vec class trivially copyable.
vladimirlaz Mar 20, 2019
a99d948
[SYCL] Updated command line options for SYCL compiler.
bader Mar 20, 2019
eaf1caa
[SYCL] Disable unstable built-in functions tests.
alexeyvoronov-intel Mar 20, 2019
af2061c
[SYCL] event: use only the immediate deps in wait_and_throw()/get_wai…
v-klochkov Mar 20, 2019
62374cf
[SYCL] Enable using of SYCL built-in functions to work with private_ptr
alexeyvoronov-intel Mar 20, 2019
0baa447
[SYCL] Fix accessor to subset of buffer indexing (runtime part)
Fznamznon Mar 20, 2019
60ee031
[SYCL] Support for relational operators
garimagu Mar 20, 2019
2b26dcb
[SYCL] Restore SYCL_USE_KERNEL_SPV env var handling to load SPIRV pro…
kbobrovs Mar 20, 2019
898de60
[SYCL] Fix struct_kernel_param test
sergey-semenov Mar 20, 2019
6818c7b
[SYCL] Disable compile->link kernel-and-program test case on GPU
sergey-semenov Mar 20, 2019
7858474
[SYCL] Don't force SPIRV format in device binary image.
kbobrovs Mar 20, 2019
1b8c008
[SYCL] Enable ext_vector_type of boolean type for SYCL language.
alexeyvoronov-intel Mar 20, 2019
ad8e079
[SYCL] Fix auto-deduction of device binary image format when extracti…
kbobrovs Mar 20, 2019
43c6d7a
[SYCL] Fix GCC/Clang ABI incompatibility
alexeyvoronov-intel Mar 20, 2019
e91edb4
[SYCL] clean build directory if build scripts are changed
vladimirlaz Mar 25, 2019
27b929e
[SYCL] Fix program_manager test
sergey-semenov Mar 26, 2019
b318148
[SYCL] Temporary disable vector_integer tests on GPU.
vladimirlaz Mar 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[X86] getShuffleScalarElt - peek through insert/extract subvector nodes.
llvm-svn: 355288
  • Loading branch information
RKSimon committed Mar 3, 2019
commit d8e91a54c05a8627e99ffb26743f865168be8a64
23 changes: 23 additions & 0 deletions llvm/lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6884,6 +6884,29 @@ static SDValue getShuffleScalarElt(SDNode *N, unsigned Index, SelectionDAG &DAG,
Depth+1);
}

// Recurse into insert_subvector base/sub vector to find scalars.
if (Opcode == ISD::INSERT_SUBVECTOR &&
isa<ConstantSDNode>(N->getOperand(2))) {
SDValue Vec = N->getOperand(0);
SDValue Sub = N->getOperand(1);
EVT SubVT = Sub.getValueType();
unsigned NumSubElts = SubVT.getVectorNumElements();
uint64_t SubIdx = N->getConstantOperandVal(2);

if (SubIdx <= Index && Index < (SubIdx + NumSubElts))
return getShuffleScalarElt(Sub.getNode(), Index - SubIdx, DAG, Depth + 1);
return getShuffleScalarElt(Vec.getNode(), Index, DAG, Depth + 1);
}

// Recurse into extract_subvector src vector to find scalars.
if (Opcode == ISD::EXTRACT_SUBVECTOR &&
isa<ConstantSDNode>(N->getOperand(1))) {
SDValue Src = N->getOperand(0);
EVT SrcVT = Src.getValueType();
uint64_t SrcIdx = N->getConstantOperandVal(1);
return getShuffleScalarElt(Src.getNode(), Index + SrcIdx, DAG, Depth + 1);
}

// Actual nodes that may contain scalar elements
if (Opcode == ISD::BITCAST) {
V = V.getOperand(0);
Expand Down
10 changes: 0 additions & 10 deletions llvm/test/CodeGen/X86/avx-load-store.ll
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ define <8 x float> @mov00(<8 x float> %v, float * %ptr) nounwind {
; CHECK_O0-LABEL: mov00:
; CHECK_O0: # %bb.0:
; CHECK_O0-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero
; CHECK_O0-NEXT: # implicit-def: $ymm1
; CHECK_O0-NEXT: vmovaps %xmm0, %xmm1
; CHECK_O0-NEXT: vmovaps %xmm1, %xmm0
; CHECK_O0-NEXT: vxorps %xmm2, %xmm2, %xmm2
; CHECK_O0-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm2[1,2,3]
; CHECK_O0-NEXT: # kill: def $ymm0 killed $xmm0
; CHECK_O0-NEXT: retq
%val = load float, float* %ptr
Expand All @@ -106,11 +101,6 @@ define <4 x double> @mov01(<4 x double> %v, double * %ptr) nounwind {
; CHECK_O0-LABEL: mov01:
; CHECK_O0: # %bb.0:
; CHECK_O0-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
; CHECK_O0-NEXT: # implicit-def: $ymm1
; CHECK_O0-NEXT: vmovaps %xmm0, %xmm1
; CHECK_O0-NEXT: vmovaps %xmm1, %xmm0
; CHECK_O0-NEXT: vxorps %xmm2, %xmm2, %xmm2
; CHECK_O0-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],xmm2[1]
; CHECK_O0-NEXT: # kill: def $ymm0 killed $xmm0
; CHECK_O0-NEXT: retq
%val = load double, double* %ptr
Expand Down