- Jun 12, 2023
-
-
Haojian Wu authored
When build CallExpr for error-recovery where we have any dependent child nodes), we should set a dependent type for CallExpr to avoid running into some unexpected following semantic analysis. This also aligns with the C++ behavior. This fixes the symptom crashes: https://github.com/llvm/llvm-project/issues/50244 Differential Revision: https://reviews.llvm.org/D152561
-
wangpc authored
We have already iterated over `FPList`, so there is no need to get and loop over SEW set again. Or we will generate some useless pseudo instructions like `PseudoXXX_VF16_M1_E64`. We add SEW to FPR_Info so that we can get it later. And we rewrite FPR_Info to reduce arguments incidentally. This should reduce the size of files generated by TableGen. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D152524
-
luxufan authored
In replaceSignedInst, if a signed instruction can be repalced with unsigned instruction, we created a new instruction and removed the old instruction's value state. If the following instructions has this new instruction as a use operand, transformations like replaceSignedInst and refineInstruction would be blocked. The reason is there is no value state for the new instrution. This patch set the new instruction's value state with the removed instruction's value state. I believe it is correct bacause when we repalce a signed instruction with unsigned instruction, the value state is not changed. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D152337
-
Kelvin Li authored
This patch is to allow an extra string prepended to the compiler_version. The check is enhanced to verify that "flang version" is followed by numbers in the form of "n.n.n". Differential Revision: https://reviews.llvm.org/D152572
-
Douglas Yung authored
-
Fangrui Song authored
As explained by commit 849f1dd1, -fxray-function-index was the original default but was accidentally flipped by commit d8a8e5d6. Restore the previous behavior. Originally reported by Oleksii Lozovskyi in D145848.
-
Fangrui Song authored
Apply my post-commit comment on D81995. The negative name misguided commit d8a8e5d6 (`[clang][cli] Remove marshalling from Opt{In,Out}FFlag`) to: * accidentally flip the option to not emit the xray_fn_idx section. * change -fno-xray-function-index (instead of -fxray-function-index) to emit xray_fn_idx This patch renames XRayOmitFunctionIndex and makes -fxray-function-index emit xray_fn_idx, but the default remains -fno-xray-function-index .
-
Florian Hahn authored
Directly use the step of the transformed induction instead of creating a new step. This allows replacing all uses of strides in D147783.
-
Kazu Hirata authored
-
Kazu Hirata authored
The corresponding function definition was removed by: commit 7a9c62ba Author: Reid Spencer <rspencer@reidspencer.com> Date: Fri Jan 12 07:05:14 2007 +0000
-
Kazu Hirata authored
The declaration was added without a corresponding function definition by: commit 7d449d31 Author: Justin Bogner <mail@justinbogner.com> Date: Mon Aug 21 22:57:06 2017 +0000
-
Kazu Hirata authored
-
Kazu Hirata authored
The last use was removed by: commit 98cce003 Author: David Blaikie <dblaikie@gmail.com> Date: Mon Jul 10 03:04:59 2017 +0000 Differential Revision: https://reviews.llvm.org/D152640
-
Kazu Hirata authored
Differential Revision: https://reviews.llvm.org/D152638
-
Oleksii Lozovskyi authored
XRay instrumentation works for macOS running on Apple Silicon, but codegen is untested there. I'm going to make changes affecting this target, get the XRay tests running on AArch64. Data sections are going to become slightly different on x86_64 soon. I do want the tests to be specific about symbol names, so instead of having test check the common step, bifurcate tests a bit and check the full symbol names. As for ARM, XRay is not really supported on iOS at the moment, though ARM is also really used there with modern phones. Nevertheless, codegen tests exist and the output is going to change a little, make it easier to write the special case for iOS. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D145291
-
Fangrui Song authored
Also add driver test missed by D87953 (-fxray-function-groups=). (test/Driver/XRay/lit.local.cfg misunderstands how driver testing works. We place the test in test/Driver instead.)
-
Hristo Hristov authored
Implements parts of P1614R2: - Removed ops from `unordered_multiset`, - Removed ops from `unordered_set` Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D152643
-
Fangrui Song authored
-
Simon Pilgrim authored
-
Fangrui Song authored
For these -m* options, there is no behavior difference other than documentation difference (Target-dependent compilation options).
-
Hristo Hristov authored
Implements parts of P1614R2: - Removed ops from `complex` Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D152615
-
Hristo Hristov authored
Implements parts of P1614R2: - Added `operator==` to `slice` Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D152617
-
Hristo Hristov authored
Implements parts of P1614R2 - Removed ops from `memory_resource` - Removed ops from `polymorphic_allocator` Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D152629
-
- Jun 11, 2023
-
-
Fangrui Song authored
Fix https://github.com/llvm/llvm-project/issues/63237 With only a link action, we claim all CompileOnly_Group options (including -f*, -m*, -i*, etc). -mharden-sls= is not in a Group and therefore not claimed, leading to a spurious -Wunused-command-line-argument warning, and after 5548843d, an error.
-
Kazu Hirata authored
-
Deniz Evrenci authored
These functions can rethrow a current exception that is caught by the catch block. We can pass the currently caught excections to the function declaration analyzer just like the statement analyzer to handle this case. Differential Revision: https://reviews.llvm.org/D152330
-
Kazu Hirata authored
The last use was removed by: commit 934c82d3 Author: Florian Hahn <flo@fhahn.com> Date: Fri Feb 24 13:39:32 2023 +0100 Once I remove createInstructionCombiningPass, then: InstructionCombiningPass::InstructionCombiningPass(unsigned MaxIterations) becomes unused. Once I remove that: InstructionCombiningPass::MaxIterations is always initialized with InstCombineDefaultMaxIterations, so this patch does the constant propagation and removes InstructionCombiningPass::MaxIterations as well. Differential Revision: https://reviews.llvm.org/D152641
-
Antonio Frighetto authored
Simplification of equality predicates is now supported by transferring equalities into inequalities. This is achieved by separately checking that both `isConditionImplied(A >= B)` and `isConditionImplied(A <= B)` hold. Differential Revision: https://reviews.llvm.org/D152067
-
David Green authored
-
Yingwei Zheng authored
-
David Green authored
VECREDUCE_FMIN/FMAX wil be lowered to fminnmv/fmaxnmv. They needn't be custom lowered through an intrinsic to do it, and can be treated as Legal instead.
-
AdityaK authored
As reported in: D147741 Reviewers: philnik, var-const, ldionne, hans Differential Revision: https://reviews.llvm.org/D152571
-
Kazu Hirata authored
The last use was removed by: commit a3da4467 Author: Zachary Turner <zturner@google.com> Date: Wed Jun 14 05:31:00 2017 +0000
-
Kazu Hirata authored
The last use was removed by: commit d623b2f9 Author: Arthur Eubanks <aeubanks@google.com> Date: Fri Mar 10 17:24:19 2023 -0800
-
Kazu Hirata authored
The corresponding definition was removed by: commit 3cc1f1fc Author: Joseph Huber <jhuber6@vols.utk.edu> Date: Thu Oct 8 12:03:11 2020 -0400
-
Kazu Hirata authored
The corresponding function definition was removed by: commit 2118b9d3 Author: Arthur Eubanks <aeubanks@google.com> Date: Tue Dec 20 12:55:05 2022 -0800
-
Michael Liao authored
-
Kazu Hirata authored
-
Ben Shi authored
Fixes https://github.com/llvm/llvm-project/issues/63100 Reviewed By: aykevl Differential Revision: https://reviews.llvm.org/D152365
-
Ben Shi authored
Fixes https://github.com/llvm/llvm-project/issues/63100 Reviewed By: aykevl, Patryk27, jacquesguan Differential Revision: https://reviews.llvm.org/D152130
-