- Dec 15, 2022
-
-
YunQiang Su authored
When we use llc or lld to compiler IR files, the features +nan2008 and +fpxx/+fp64 are not used. Thus wrong format files are produced. In IR files, the attributes are only set for function while not the whole compile units. So we output `.nan 2008` and `.module fp=xx/64` before every function. `isFPXXDefault`: for o32, the FPXX should always be the default, no matter about the vendors. Of course some distributions with FP64 default enabled should be listed explicit. Let's add them in future if we know about one. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D138179
-
Nikita Popov authored
-
Nikita Popov authored
These required some manual fixup.
-
Nikita Popov authored
Replace GEP index from 0 to 1 so it is not a trivial GEP.
-
Nikita Popov authored
-
Nikita Popov authored
-
gonglingqin authored
-
Uday Bondhugula authored
The `hasNoInterveningEffect` utility is too long with too deeply nested logic. Split out a part into a helper. NFC. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D139795
-
Chuanqi Xu authored
Merging declarations and checking ODR violations are a big part in the implementation of modules. Currently, the implementation of C++20 Modules share a big part with the Clang modules and the ObjC modules for the clang's serializer/deserailizer. This is good. We saved a lot of time by this. And a lot of C++20 Modules's codes can run due to reuse it. However, the bad side is that we lack a lot of tests about merging declarations and ODR checks for C++20 Modules. It is not stable on the long run. So the patch tries to add a test for it. This should be a long-term goal for C++20 modules. (To add the test we shoudl add).
-
esmeyi authored
Summary: Currently we get a wrong fixed value for R_RBR relocations when -ffunction-sections enabled. This patch fixes this. Reviewed By: DiggerLin, shchenz Differential Revision: https://reviews.llvm.org/D138982
-
Sameer Sahasrabuddhe authored
Previously reverted in 12696d30 The arguments to a PHI may represent a recurrence by eventually using the output of the PHI itself. This is now handled by checking for cycles in the control flow. If a PHI is not in a recurrence, it is now able to report multiple offsets instead of conservatively reporting unknown. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D138991
-
luxufan authored
-
Kazu Hirata authored
These files do not use llvm::StringSwitch.
-
Akira Hatanaka authored
-
Kazu Hirata authored
These files no longer use llvm::Optional.
-
Sameer Sahasrabuddhe authored
This reverts commit 88db516a.
-
Michael Buch authored
This applies the same fix as in `ad3870d6` for `TestRerunAndExpr.py` to this test. D138724
-
Sameer Sahasrabuddhe authored
The arguments to a PHI may represent a recurrence by eventually using the output of the PHI itself. This is now handled by checking for cycles in the control flow. If a PHI is not in a recurrence, it is now able to report multiple offsets instead of conservatively reporting unknown. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D138991
-
Quinn Dawkins authored
Conversion from gpu.subgroup_mma_constant_matrix to spirv.MatrixTimesScalar didn't check that the op type was a multiplication and thus would incorrectly convert other elementwise scalar operations. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D140081
-
Michael Buch authored
Followup to D139953 to fix build failure on machines not configured for x86. Differential Revision: https://reviews.llvm.org/D140084
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Shubham Sandeep Rastogi authored
This reverts commit 7dde9425. Because of test failures: lldb-shell :: SymbolFile/DWARF/x86/DW_AT_loclists_base.s lldb-shell :: SymbolFile/DWARF/x86/debug_loc.s lldb-shell :: SymbolFile/DWARF/x86/debug_loc_and_loclists.s lldb-shell :: SymbolFile/DWARF/x86/debug_loclists-dwo.s lldb-shell :: SymbolFile/DWARF/x86/debug_loclists-dwp.s lldb-shell :: SymbolFile/DWARF/x86/dwp.s lldb-shell :: SymbolFile/DWARF/x86/unused-inlined-params.test lldb-shell :: SymbolFile/NativePDB/inline_sites.test lldb-shell :: SymbolFile/NativePDB/local-variables-registers.s lldb-shell :: SymbolFile/NativePDB/nested-blocks-same-address.s
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Shubham Sandeep Rastogi authored
Differential Revision: https://reviews.llvm.org/D134817
-
Vasileios Porpodas authored
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, huixie90, #libc Spies: EricWF, libcxx-commits, royjacobson Differential Revision: https://reviews.llvm.org/D135016
-
Shubham Sandeep Rastogi authored
Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used. Differential Revision: https://reviews.llvm.org/D139663
-
Shubham Sandeep Rastogi authored
Revert "Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used." This reverts commit 28edf334. This is because: The Buildbot has detected a failed build on builder llvm-clang-x86_64-sie-ubuntu-fast while building llvm. Full details are available at: https://lab.llvm.org/buildbot#builders/139/builds/32856 Worker for this Build: sie-linux-worker Blamelist: Shubham Sandeep Rastogi <srastogi22@apple.com> BUILD FAILED: 40459 expected passes 83 expected failures 26251 unsupported tests 1 unexpected failures (failure) Step 6 (test-build-unified-tree-check-all) failure: 40459 expected passes 83 expected failures 26251 unsupported tests 1 unexpected failures (failure) ******************** TEST 'LLVM :: DebugInfo/debugframeinfo.s' FAILED ******************** Script: -- : 'RUN: at line 1'; /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-mc -filetype=obj -triple=arm64-apple-darwin22.1.0 /home/buildbot/buildbot-root/llvm-project/llvm/test/DebugInfo/debugframeinfo.s -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debugframeinfo.s.tmp.o : 'RUN: at line 2'; /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-dwarfdump -debug-frame /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debugframeinfo.s.tmp.o | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-project/llvm/test/DebugInfo/debugframeinfo.s -- Exit Code: 1 Command Output (stderr): -- /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-mc: error: unable to get target for 'arm64-apple-darwin22.1.0', see --version and --triple.
-
Shubham Sandeep Rastogi authored
Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used. Differential Revision: https://reviews.llvm.org/D139663
-
Jakub Kuderski authored
Check results of all type conversions in `--convert-arith-to-spirv`. Fixes: https://github.com/llvm/llvm-project/issues/59496 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D140033
-
Vasileios Porpodas authored
This is part of a series of patches that aim at making Function::getBasicBlockList() private. Differential Revision: https://reviews.llvm.org/D140064
-
Kirill Stoimenov authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D140065
-
Craig Topper authored
As far as I can tell m_riscv_Features_Group is for options that can be passed to cc1's -target-feature. These mcmodel aliases aren't that. I think they get treated as aliases and disappear before we get to processing m_riscv_Features_Group so it didn't cause any problems. I've left them in m_Group to match mcmodel_EQ.
-
Vasileios Porpodas authored
This is part of a series of patches that aim at making Function::getBasicBlockList() private. Differential Revision: https://reviews.llvm.org/D139984
-
Slava Zakharin authored
Exponentiation is lowered to either math::FPowI or Fortran runtime call (in case of --math-runtime=precise). MathToFuncs convertor will convert math::FPowI operations with exponent width >32 to calls of outlined implementations and otherwise will leave the operation to MathToLLVM convertor. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D139806
-
Nitin John Raj authored
We don’t have W versions of AND/OR/XOR/ANDN/ORN/XNOR so we should recursively check their users. We should limit the recursion to SelectionDAG::MaxRecursionDepth levels. We need to add a Depth argument, all existing callers should pass 0 to the Depth. The new recursive calls should increment it by 1. At the top of the function we should give up and return false if Depth >= SelectionDAG::MaxRecursionDepth. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D139462
-
bixia1 authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D140057
-