- Jun 10, 2024
-
-
Fangrui Song authored
Created using spr 1.3.5-bogner
-
Kazu Hirata authored
We can implicitly convert RemainingVDs to an ArrayRef. Note that RemainingVDs is of type SmallVector<InstrProfValueData, 24>.
-
Mark de Wever authored
Implements parts of: - P0355 Extending chrono to Calendars and Time Zones
-
- Jun 09, 2024
-
-
Koakuma authored
This adds the alternate mnemonics for movrz and movrnz. Reviewers: s-barannikov, jrtc27, brad0, rorth Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94252
-
Koakuma authored
If the Count passed into writeNopData is not a multiple of four, add a little amount of zeros before writing the NOP stream. This makes it match the behavior of GNU binutils. Reviewers: brad0, rorth, s-barannikov, jrtc27 Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94251
-
Kazu Hirata authored
-
Koakuma authored
This adds support for `prefetcha` instruction for prefetching from alternate address spaces. Reviewers: jrtc27, brad0, rorth, s-barannikov Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94250
-
Koakuma authored
This adds named tag constants (such as `#one_write` and `#one_read`) for the prefetch instruction. Reviewers: jrtc27, rorth, brad0, s-barannikov Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94249
-
Andreas Jonson authored
Swap out range metadata to range attribute for calls to be able to deprecate range metadata on calls in the future.
-
Timm Bäder authored
-
Timm Bäder authored
-
Timm Bäder authored
-
Florian Hahn authored
Handle binary ops and a few other instructions in onlyFirstPartUsed; they only use the first part if they themselves only have their first part used.
-
David Green authored
This moves the combine of fdiv by constant to fmul out of an 'if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()' block, so that it triggers if the divide is exact. An extra check for Recip.isDenormal() is added as multiple places make reference to it being unsafe or slow on certain platforms.
-
Simon Pilgrim authored
[DAG] FoldConstantArithmetic - allow binop folding to work with differing bitcasted constants (#94863) We currently only constant fold binop(bitcast(c1),bitcast(c2)) if c1 and c2 are both bitcasted and from the same type. This patch relaxes this assumption to allow the constant build vector to originate from different types (and allow cases where only one operand was bitcasted). We still ensure we bitcast back to one of the original types if both operand were bitcasted (we assume that if we have a non-bitcasted constant then its legal to keep using that type).
-
Simon Pilgrim authored
-
Piotr Zegar authored
Ignore implicit pointer conversions that are part of a cast expression Closes #93959
-
Piotr Zegar authored
Add StrictCStandardCompliance and StrictCppStandardCompliance options that default to true. Closes #83732
-
Piotr Zegar authored
Ignore implicit declarations and defaulted functions. Helps with issues in generated code like, C++ spaceship operator. Closes #93409
-
Simon Pilgrim authored
Based on feedback on #94863
-
Matthias Springer authored
-
Piotr Zegar authored
Do not emit warnings for non-math operators. Closes #92516
-
Timm Bäder authored
Really perform the conversion always if the flag is set and don't make it dependent on whether we're checking the result for initialization.
-
Koakuma authored
This adds %set_softint and %clear_softint alias for %asr20 and %asr21 as defined in JPS1. Reviewers: jrtc27, brad0, s-barannikov, rorth Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94247
-
Koakuma authored
This adds support for GNU %uhi and %ulo extensions. Those resolve to the same relocations as %hh and %hm. Reviewers: cyndyishida, dcci, brad0, jrtc27, aaupov, Endilll, rorth, maksfb, #reviewers-libcxxabi, s-barannikov, rafaelauler, ayermolo, #reviewers-libunwind, #reviewers-libcxx, daniel-grumberg, tbaederr Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94246
-
Koakuma authored
Transform `addc imm, %rs, %rd` into `addc %rs, imm, %rd`. This is used in some GNU and Linux code. Reviewers: s-barannikov, rorth, jrtc27, brad0 Reviewed By: s-barannikov Pull Request: https://github.com/llvm/llvm-project/pull/94245
-
Fangrui Song authored
Decrease the uses of getFragmentList() to make it easier to change the fragment list representation.
-
Vlad Serebrennikov authored
-
Noah Goldstein authored
When we fold `(shift (shift C0, x), C1)` we can propagate flags that are common to both shifts. Proofs: https://alive2.llvm.org/ce/z/LkEzXD Closes #94872
-
Noah Goldstein authored
-
Ivan Butygin authored
-
Kazu Hirata authored
readNext has two variants: - readNext<uint64_t, endian>(ptr) - readNext<uint64_t>(ptr, endian) This patch uses the latter to simplify readBinaryIdsInternal. Both forms default to unaligned.
-
Florian Hahn authored
Now that FOR exit and resume value creation is explicitly modeled in VPlan (05e1b534, 07b33013) it doesn't depend on the first order recurrence splice being preserved and it can now be marked as not having side-effects. This allows removal of first-order-recurrence-splce if the FOR is only used in the exit or as scalar ph resume value.
-
Yingwei Zheng authored
This patch adds initial support to the half type on RISC-V.
-
Florian Hahn authored
Apply the onlyFirstPartUsed logic generally to all per-part VPInstructions. Note that the test changes remove the second part of an unsued first-order recurrence splice.
-
Hendrik Hübner authored
Added remquof128 function. Closes #94312
-
Job Henandez Lara authored
This is an implementation of floating point multiplication: It will consist of - `double x double -> float`
-
Shivam Gupta authored
Cppcheck recommends using a const reference for range variables in a for-each loop. This avoids unnecessary copying of elements, improving performance. Caught by cppcheck - lldb/source/API/SBBreakpoint.cpp:717:22: performance: Range variable 'name' should be declared as const reference. [iterateByValue] lldb/source/API/SBTarget.cpp:1150:15: performance: Range variable 'name' should be declared as const reference. [iterateByValue] lldb/source/Breakpoint/Breakpoint.cpp:888:26: performance: Range variable 'name' should be declared as const reference. [iterateByValue] lldb/source/Breakpoint/BreakpointIDList.cpp:262:26: performance: Range variable 'name' should be declared as const reference. [iterateByValue] Fix #91213 Fix #91217 Fix #91219 Fix #91220
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Sam Elliott authored
This broadly follows how in almost all places, we accept `(<reg>)` to mean `0(<reg>)`, but I think these are the first like this for Jumps rather than Loads/Stores. These are accepted by binutils but not by LLVM: https://godbolt.org/z/GK7MGE7q7
-