- Apr 09, 2020
-
-
Jay Foad authored
-
Peter Smith authored
Use AT(address) to force the creation of 3 small segments rather than a single giant one, causing the Arm v8 builder to run out of memory.
-
Raul Tambre authored
Reviewers: samsonov, vitalybuka Reviewed By: vitalybuka Subscribers: dberris, mgorny, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D77375
-
Florian Hahn authored
This patch adds VPValue versions for the arguments of the call to VPWidenCallRecipe and uses them during code-generation. Similar to D76373 this reduces ingredient def-use usage by ILV as a step towards full VPlan-based def-use relations. Reviewers: Ayal, gilr, rengolin Reviewed By: gilr Differential Revision: https://reviews.llvm.org/D77655
-
Qiu Chaofan authored
This patch adds missing description of enable-no-signed-zeros-fp-math and enable-no-trapping-fp-math options of llc. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D77713
-
Jay Foad authored
Summary: There are at least three clients for KnownBits calculations: ValueTracking, SelectionDAG and GlobalISel. To reduce duplication the common logic should be moved out of these clients and into KnownBits itself. This patch does this for AND, OR and XOR calculations by implementing and using appropriate operator overloads KnownBits::operator& etc. Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74060
-
Marek Kurdej authored
-
Jay Foad authored
Use the simpler BitWidth constructor instead of the copy constructor to make it clear when we don't actually need to copy an existing KnownBits value. Split out from D74539. NFC.
-
Nikita Popov authored
Avoid "left shift of negative value -1" ubsan errors by casting to uintptr_t before performing the shift, rather than after.
-
Shu Anzai authored
I fixed the bug that the "log timer" has no tab command. Original code has the only CommandObjectLogTimer class, but it is not sufficient. Thus I divided the content of CommandObjectLog class into CommandObjectLogEnable class, CommandObjectLogDisable class, CommandObjectLogDump class, CommandObjectLogReset class, CommandObjectLogIncrement class. Reviewed by: teemperor Differential Revision: https://reviews.llvm.org/D76906
-
Serge Pavlov authored
Now compiler defines 5 sets of constants to represent rounding mode. These are: 1. `llvm::APFloatBase::roundingMode`. It specifies all 5 rounding modes defined by IEEE-754 and is used in `APFloat` implementation. 2. `clang::LangOptions::FPRoundingModeKind`. It specifies 4 of 5 IEEE-754 rounding modes and a special value for dynamic rounding mode. It is used in clang frontend. 3. `llvm::fp::RoundingMode`. Defines the same values as `clang::LangOptions::FPRoundingModeKind` but in different order. It is used to specify rounding mode in in IR and functions that operate IR. 4. Rounding mode representation used by `FLT_ROUNDS` (C11, 5.2.4.2.2p7). Besides constants for rounding mode it also uses a special value to indicate error. It is convenient to use in intrinsic functions, as it represents platform-independent representation for rounding mode. In this role it is used in some pending patches. 5. Values like `FE_DOWNWARD` and other, which specify rounding mode in library calls `fesetround` and `fegetround`. Often they represent bits of some control register, so they are target-dependent. The same names (not values) and a special name `FE_DYNAMIC` are used in `#pragma STDC FENV_ROUND`. The first 4 sets of constants are target independent and could have the same numerical representation. It would simplify conversion between the representations. Also now `clang::LangOptions::FPRoundingModeKind` and `llvm::fp::RoundingMode` do not contain the value for IEEE-754 rounding direction `roundTiesToAway`, although it is supported natively on some targets. This change defines all the rounding mode type via one `llvm::RoundingMode`, which also contains rounding mode for IEEE rounding direction `roundTiesToAway`. Differential Revision: https://reviews.llvm.org/D77379
-
Pratyai Mazumder authored
Summary: New SanitizerCoverage feature `inline-bool-flag` which inserts an atomic store of `1` to a boolean (which is an 8bit integer in practice) flag on every instrumented edge. Implementation-wise it's very similar to `inline-8bit-counters` features. So, much of wiring and test just follows the same pattern. Reviewers: kcc, vitalybuka Reviewed By: vitalybuka Subscribers: llvm-commits, hiraditya, jfb, cfe-commits, #sanitizers Tags: #clang, #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D77244
-
Vitaly Buka authored
This reverts commit e42f2a0cd8b8007c816d0e63f5000c444e29105e.
-
Johannes Doerfert authored
D76588 exposed an SCC update bug in three tests which manifests sometimes, e.g., on this bot that runs expensive checks: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23032/steps/test-check-all/logs/FAIL%3A%20LLVM%3A%3Afp80.ll We disable the tests temporarily to investigate.
-
LLVM GN Syncbot authored
-
WangTianQing authored
Summary: For more details about these instructions, please refer to the latest ISE document: https://software.intel.com/en-us/download/intel-architecture-instruction-set-extensions-programming-reference Reviewers: craig.topper, RKSimon, LuoYuanke Reviewed By: craig.topper Subscribers: mgorny, hiraditya, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77205
-
Johannes Doerfert authored
When the Attributor was created the test update scripts were not well suited to deal with the challenges of IR attribute checking. This partially improved. Since then we also added three additional configurations that need testing; in total we now have the following four: { TUNIT, CGSCC } x { old pass manager (OPM), new pass manager (NPM) } Finally, the number of developers and tests grew rapidly (partially due to the addition of ArgumentPromotion and IPConstantProp tests), which resulted in tests only being run in some configurations, different prefixes being used, and different "styles" of checks being used. Due to the above reasons I believed we needed to take another look at the test update scripts. While we started to use them, via UTC_ARGS: --enable/disable, the other problems remained. To improve the testing situation for *all* configurations, to simplify future updates to the test, and to help identify subtle effects of future changes, we now use the test update scripts for (almost) all Attributor tests. An exhaustive prefix list minimizes the number of check lines and makes it easy to identify and compare configurations. Tests have been adjusted in the process but we tried to keep their intend unchanged. Reviewed By: sstefan1 Differential Revision: https://reviews.llvm.org/D76588 -
Johannes Doerfert authored
Dead constants might be left when a function is replaced, we can gracefully handle this case and avoid complexity for the users who would see an assertion otherwise.
-
Lang Hames authored
This saves clients from having to manually construct a MangleAndInterner.
-
Uday Bondhugula authored
Minor fixes and cleanup for ShapedType accessors, use ShapedType::kDynamicSize, add ShapedType::isDynamicDim. Differential Revision: https://reviews.llvm.org/D77710
-
Jonas Devlieghere authored
-
Matt Arsenault authored
-
River Riddle authored
Summary: This avoids the need for having global static initializers within the JITRunner support library, and only constructs the options when the runner is invoked. Differential Revision: https://reviews.llvm.org/D77760
-
Sam Clegg authored
This is followup based on feedback on 5be42f36. See: https://reviews.llvm.org/D77627. Differential Revision: https://reviews.llvm.org/D77674
-
Craig Topper authored
[LoopVectorize] Move testing for SVML vectorization of exp2f_finite/exp2_finite from svml-calls.ll to svml-calls-finite.ll where the finite versions of log, pow, and exp already were.
-
Craig Topper authored
Passing a Value * to CreateCall has to call getPointerElementType to find the type of the pointer. In this case we can rely on the fact that Intrinsic::getDeclaration returns a Function * and use that version of CreateCall.
-
Johannes Doerfert authored
Attributor.cpp became quite big and we need to start provide structure. The Attributor code is now in Attributor.cpp and the classes derived from AbstractAttribute are in AttributorAttributes.cpp. Minor changes were required but no intended functional changes. We also minimized includes as part of this. Reviewed By: baziotis Differential Revision: https://reviews.llvm.org/D76873
-
River Riddle authored
Summary: ClassID is used as a type id and must be unique in the face of shared libraries to ensure correctness. This fixes failures related to BUILD_SHARED_LIBs on macos. Differential Revision: https://reviews.llvm.org/D77764
-
Christopher Tetreault authored
Summary: Remove usages of asserting vector getters in Type in preparation for the VectorType refactor. The existence of these functions complicates the refactor while adding little value. Reviewers: espindola, efriedma, sdesmalen Reviewed By: efriedma Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77275
-
Christopher Tetreault authored
Summary: Remove usages of asserting vector getters in Type in preparation for the VectorType refactor. The existence of these functions complicates the refactor while adding little value. Reviewers: hfinkel, efriedma, sdesmalen Reviewed By: efriedma Subscribers: wuzish, nemanjai, hiraditya, kbarton, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77266
-
Jonas Devlieghere authored
Using the approach suggested by Pavel in D77588, this patch introduces a new lldbconfig module that lives next to the lldb module. It makes it possible to make the lldb module configurable before importing it. More specifically it makes it possible to delay initializing the debugger, which is needed for testing the reproducer. Differential revision: https://reviews.llvm.org/D77661
-
Jonathan Roelofs authored
Summary: https://bugs.llvm.org/show_bug.cgi?id=45436 Reviewers: mehdi_amini, mravishankar, antiagainst, rriddle, stephenneuendorffer Reviewed By: mehdi_amini, rriddle, stephenneuendorffer Subscribers: frgossen, stephenneuendorffer, jholewinski, mgorny, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, bader, grosul1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77515
-
Eric Fiselier authored
-
Christopher Tetreault authored
Summary: Remove usages of asserting vector getters in Type in preparation for the VectorType refactor. The existence of these functions complicates the refactor while adding little value. Reviewers: sdesmalen, rriddle, efriedma Reviewed By: sdesmalen Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77263
-
Eric Christopher authored
-
Eric Fiselier authored
Patch from Christopher Di Bella (cjdb@google.com) Reviewed as https://reviews.llvm.org/D74291 Adds `std::same_as` to libc++. Since there aren't clang-format rules for //requires-expressions//, I'll need to disable the formatter in certain areas.
-
Amara Emerson authored
This saves doing two separate calls to set the Instr and DebugLoc from an existing MI.
-
River Riddle authored
[mlir][NFC] Wrap static DenseMap inside of a function to avoid the need for a global static initializer This also helps to abstract away the exact implementation details of the loopup method if we wish to change it in the future.
-
Matt Arsenault authored
-
Nicolas Vasilache authored
This revision builds a simple "fused pass" consisting of 2 levels of tiling, memory promotion and vectorization using linalg transformations written as composable pattern rewrites.
-