- Dec 31, 2020
-
-
Kazu Hirata authored
-
Fangrui Song authored
Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D92899
-
Fangrui Song authored
TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions. Since clang -fno-pic add the dso_local specifier, we don't need to special case.
-
Fangrui Song authored
-
Fangrui Song authored
This effect is not testable until we drop the implied dso_local for ELF static/PIE defined symbols from TargetMachine::shouldAssumeDSOLocal.
-
Fangrui Song authored
-
Lang Hames authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions. Adding explicit dso_local makes these tests align with the clang -fno-pic behavior and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.
-
Fangrui Song authored
TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions. Adding explicit dso_local makes these tests align with the clang -fno-pic behavior and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case. Split tiny_model.ll to tiny-model-{static,pic}.ll -
Fangrui Song authored
-
Fangrui Song authored
TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions. Adding explicit dso_local makes these tests align with the clang -fno-pic behavior and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.
-
Jacques Pienaar authored
Windows build bot was not happy with this (http://lab.llvm.org:8011/#/builders/13/builds/3327/steps/7/logs/FAIL__MLIR__run-reproducer_mlir)
-
Terry Wilmarth authored
This patch partially prepares the runtime source code to be built with -Wconversion, which should trigger warnings if any implicit conversions can possibly change a value. For builds done with icc or gcc, all such warnings are handled in this patch. clang gives a much longer list of warnings, particularly for sign conversions, which the other compilers don't report. The -Wconversion flag is commented into cmake files, but I'm not going to turn it on. If someone thinks it is important, and wants to fix all the clang warnings, they are welcome to. Types of changes made here involve either improving the consistency of types used so that no conversion is needed, or else performing careful explicit conversions, when we're sure a problem won't arise. Patch is a combination of changes by Terry Wilmarth and Johnny Peyton. Differential Revision: https://reviews.llvm.org/D92942
-
Brandon Bergren authored
Due to the unfortunate way the bug could only be triggered when reading SPRG[0-3] into a register lower than %r4 with the "mfsprg %rX, 0" syntax, the tests did not detect it. (It could not be triggered for "mfsprg0, %r2" because that pattern was already in the table, so the earlier "correct" match took effect) As a canary, add an intentionally ambiguous "mfsprg 2, 2" and "mtsprg 2, 2" check that would have caught the problem. Reviewed By: ZhangKang Differential Revision: https://reviews.llvm.org/D86489
-
Siva Chandra Reddy authored
This change "fixes" one of the uses that was missed in 0524da67.
-
Roman Lebedev authored
Fixes an issue reported by Peter Collingbourne in https://reviews.llvm.org/D91726#2475301
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Craig Topper authored
[RISCV] Cleanup some V intrinsic names used in tests to match the type overloads used. Add some missing double tests on rv32. NFC The matching for intrinsic names is forgiving about types in the name being absent or wrong. Once the intrinsic is parsed its name will remangled to include the real types. This commit fixes the names to have at least enough correct types so that the name used in the test is a prefix of the canonical name. The big missing part is the type for the VL parameter which changes size between rv32 and rv64. While I was in here I noticed that we were missing some tests for double on rv32 so I fixed that by copying from rv64 and fixing up the VL argument type.
-
Fangrui Song authored
-
Sanjay Patel authored
I don't know if there's some way this changes what the vectorizers may produce for reductions, but I have added test coverage with 3567908d and 5ced712e to show that both passes already have bugs in this area. Hopefully this does not make things worse before we can really fix it.
-
Sanjay Patel authored
-
Fangrui Song authored
-
Nico Weber authored
This will hopefully fix the build not becoming clean when using Ninja 1.9+. Ninja 1.9 enabled high-resolution time stamps, but pax doesn't correctly set high-resolution timestamps on its output. See https://github.com/nico/hack/blob/master/notes/copydir.md for a detailed writeup of problem and alternatives.
-
Yuanfang Chen authored
for commit 480936e7.
-
Jacques Pienaar authored
Add command line option to read the configuration dumped by the MLIR crash reproducer and adds those to the other command line options parsed by mlir-opt. Simple convenience that enables `mlir-opt --run-reproducer /tmp/repro.mlir` instead of needing to copy&paste the configuration. Differential Revision: https://reviews.llvm.org/D93924
-
Fangrui Song authored
TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions. Adding explicit dso_local makes these tests align with the clang -fpic behavior and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case. Rewrite preemption.ll to dsolocal-static.ll and dsolocal-pic.ll, and add "PIC Level" metadata.
-
Max Moroz authored
This makes `PickValueInArray` work for `std::array<T, s>` (C++11). I've also tested the C++17 `std::array` (with compiler-deduced template parameters) ``` Author: MarcoFalke <falke.marco@gmail.com> ``` Reviewed By: Dor1s Differential Revision: https://reviews.llvm.org/D93412
-
Andrew Litteken authored
There are functions that the linker is able to automatically deduplicate, we do not outline from these functions by default. This allows for outlining from those functions. Tests: llvm/test/Transforms/IROutliner/outlining-odr.ll Reviewers: jroelofs, paquette Differential Revision: https://reviews.llvm.org/D87309
-
Fangrui Song authored
rL254966 added `--sysroot=.` to prevent accidental including system headers. It caused hassle to FreeBSD (D17383)/NetBSD. The next problem is that we want to include `features.h` (usually `/usr/include/features.h`) to detect `__GLIBC__`. At this point it seems that `--sysroot=.` adds lots of inconvenience so we disable it for now. If there is a better way preventing accidental system header inclusion we can consider it again. Reviewed By: #sanitizers, vitalybuka Differential Revision: https://reviews.llvm.org/D93921
-
Fangrui Song authored
Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D93925
-
Nicolas Vasilache authored
OffsetSizeAndStrideOpInterface ops may have a varying number of operands before the first offset operand. This revision adds a method that such ops much implement to properly specify the position of the first offset operand. Differential Revision: https://reviews.llvm.org/D93947
-
Nicolas Vasilache authored
Avoid casting the source operand type allows better debugging when conversion patterns fail to produce a proper MemRefType.
-
Sanjay Patel authored
-
- Dec 30, 2020
-
-
Bogdan Graur authored
This was introduced in commit: 981a0bd8. Differential Revision: https://reviews.llvm.org/D93944
-
Sanjay Patel authored
This is no-functional-change-intended (AFAIK, we can't isolate this difference in a regression test). That's because the callers should be setting the IRBuilder's FMF field when creating the reduction and/or setting those flags after creating. It doesn't make sense to override this one flag alone. This is part of a multi-step process to clean up the FMF setting/propagation. See PR35538 for an example.
-
Juneyoung Lee authored
X-inseltpoison.ll is a copy of X.ll with insertelement/shufflevector's placeholder replaced with poison. This commit removes a few redundant functions which do not contain any shufflevector/insertelement.
-