1. Apr 09, 2024
    • Vitaly Buka's avatar
      [test][UBSAN] Fix Solaris after #87761 · 96bba13b
      Vitaly Buka authored
      96bba13b
    • Eli Friedman's avatar
      Revert "[AArch64] Add support for -ffixed-x30" (#88019) · 7ad481e7
      Eli Friedman authored
      This reverts commit e7701538.
      
      This wasn't reviewed, and the functionality in question was
      intentionally rejected the last time it was discussed in
      https://reviews.llvm.org/D56305 .
      7ad481e7
    • Vitaly Buka's avatar
      [test][UBSAN] Fix windows after #87761 · ff9b63f8
      Vitaly Buka authored
      ff9b63f8
    • Eli Friedman's avatar
      [ARM64EC] Fix compilation of intrin.h in ARM64EC mode. (#87717) · 1950ebd1
      Eli Friedman authored
      intrin.h checks for x86_64. But the "x86_64" define is also defined for
      ARM64EC, and we don't support all the intrinsics in ARM64EC mode. Fix
      the preprocessor checks to handle this correctly. (If we actually need
      some of these intrinsics in ARM64EC mode, we can revisit later.)
      
      Not exactly sure how I didn't run into this issue before now... I think
      I've built code that requires these headers, but maybe not since the
      define fix landed.
      1950ebd1
    • Danny Mösch's avatar
    • Philip Reames's avatar
      [RISCV] Exploit sh3add/sh2add for stack offsets by shifted 12-bit constants (#87950) · eb26edbb
      Philip Reames authored
      If we're falling back to generic constant formation in a register +
      add/sub, we can check if we have a constant which is 12-bits but left
      shifted by 2 or 3. If so, we can use a sh2add or sh3add to perform the
      shift and add in a single instruction.
      
      This is profitable when the unshifted constant would require two
      instructions (LUI/ADDI) to form, but is never harmful since we're going
      to need at least two instructions regardless of the constant value.
      
      Since stacks are aligned to 16 bytes by default, sh3add allows addresing
      (aligned) data out to 2^14 (i.e. 16kb) in at most two instructions
      w/zba.
      eb26edbb
    • Philip Reames's avatar
      [RISCV] Improve test coverage for #87950 · f5cf98c0
      Philip Reames authored
      Noticed in review that we want both the LUI and LUI/ADDI cases
      with different behavior for each.
      f5cf98c0
    • Nathan Sidwell's avatar
      [clang][NFC] Adjust TBAA Base Info API (#73263) · 50a67386
      Nathan Sidwell authored
      A couple of cleanups.
      
      1) remove an unnecessary check from isValidBaseType.
      
      2) Add a new internal entrypoint 'getValidBaseTypeInfo', for uses where the type is known to be valid.
      50a67386
    • lntue's avatar
      [libc] Remove RandUtils.(h|cpp). (#88044) · ac8ed7f1
      lntue authored
      ac8ed7f1
    • Peter Klausler's avatar
      [flang][omp] Heed valid build warning (#88015) · 119b9cdb
      Peter Klausler authored
      Address a bug found by a compiler warning, and thereby also fix -Werror
      builds.
      119b9cdb
    • lntue's avatar
      1e6ce5e2
    • Joseph Huber's avatar
      [Libomp] Place generated OpenMP headers into build resource directory (#88007) · 86714291
      Joseph Huber authored
      Summary:
      These headers are a part of the compiler's resource directory once
      installed. However, they are currently placed in the binary directory
      temporarily. This makes it more difficult to use the compiler out of the
      build directory and will cause issues when moving to `liboffload`. This
      patch changes the logic to write these instead to the copmiler's
      resource directory inside of the build tree.
      
      NOTE: This doesn't change the Fortran headers, I don't know enough about
      those and it won't use the same directory.
      86714291
    • Andrzej Warzyński's avatar
      [mlir][arith] Refine the verifier for arith.constant (#87999) · e276dcec
      Andrzej Warzyński authored
      Disallows initialization of scalable vectors with an attribute of
      arbitrary values, e.g.:
      ```mlir
        %c = arith.constant dense<[0, 1]> : vector<[2] x i32>
      ```
      
      Initialization using vector splats remains allowed (i.e. when all the
      init values are identical):
      ```mlir
        %c = arith.constant dense<[1, 1]> : vector<[2] x i32>
      ```
      
      Note: This is a re-upload of #86178
      e276dcec
    • Christopher Ferris's avatar
      [scudo] Remove end of line checks. (#88022) · 3b43ae9a
      Christopher Ferris authored
      The regex to verify that there is nothing else at the end of the line
      doesn't work in all cases, so remove it.
      3b43ae9a
    • Leonard Grey's avatar
      -fsanitize=function: fix .subsections_via_symbols (#87527) · c23135c5
      Leonard Grey authored
      -fsanitize=function emits a signature and function hash before a
      function. Similar to 7f6e2c97, these can be sheared off when
      `.subsections_via_symbols` is used.
      
      This change uses the same technique 7f6e2c97 introduced for prefixes:
      emitting a symbol for the metadata, then marking the actual function
      entry as an .alt_entry symbol.
      c23135c5
    • Alexey Bataev's avatar
      [SLP]Improve final minbitwidth analysis attempt. · 01d9528e
      Alexey Bataev authored
      Added part for demanded bits analysis in the IsPotentiallyTruncated to
      improve minbitwidth analysis final attempts.
      
      Metric: size..text
      
      Program                                                                                                                                                size..text
                                                                                                                                                             results     results0    diff
                                                                                 test-suite :: MultiSource/Benchmarks/MiBench/telecomm-gsm/telecomm-gsm.test    43069.00    42973.00 -0.2%
                                                                                        test-suite :: MultiSource/Benchmarks/mediabench/gsm/toast/toast.test    43066.00    42970.00 -0.2%
      
      Extra trunc instructions are emitted to operate with <32 x i8> instead
      of <32 x i16>, will be removed in the next patches.
      
      Reviewers: RKSimon
      
      Reviewed By: RKSimon
      
      Pull Request: https://github.com/llvm/llvm-project/pull/87786
      01d9528e
    • Mike Rice's avatar
      [NFC][OpenMP] Split nesting_of_regions test (#87842) · aa6a089c
      Mike Rice authored
      This test is the bottleneck for OpenMP lit tests, running about twice as
      long as the others. Break it into five tests based on run lines with the
      same version.
      aa6a089c
    • Axel Lundberg's avatar
      Fix "[clang][UBSan] Add implicit conversion check for bitfields" (#87761) · 708c8cd7
      Axel Lundberg authored
      Fix since #75481 got reverted.
      
      - Explicitly set BitfieldBits to 0 to avoid uninitialized field member
      for the integer checks:
      ```diff
      -       llvm::ConstantInt::get(Builder.getInt8Ty(), Check.first)};
      +      llvm::ConstantInt::get(Builder.getInt8Ty(), Check.first),
      +      llvm::ConstantInt::get(Builder.getInt32Ty(), 0)};
      ```
      - `Value **Previous` was erroneously `Value *Previous` in
      `CodeGenFunction::EmitWithOriginalRHSBitfieldAssignment`, fixed now.
      - Update following:
      ```diff
      -     if (Kind == CK_IntegralCast) {
      +     if (Kind == CK_IntegralCast || Kind == CK_LValueToRValue) {
      ```
      CK_LValueToRValue when going from, e.g., char to char, and
      CK_IntegralCast otherwise.
      - Make sure that `Value *Previous = nullptr;` is initialized (see
      https://github.com/llvm/llvm-project/commit/1189e87951e59a81ee097eae847c06008276fef1
      
      )
      - Add another extensive testcase
      `ubsan/TestCases/ImplicitConversion/bitfield-conversion.c`
      
      ---------
      
      Co-authored-by: default avatarVitaly Buka <vitalybuka@gmail.com>
      708c8cd7
    • Daniil Kovalev's avatar
      [test][AArch64][CodeGen] Delete redundant check lines (#87965) · 89eb1a5a
      Daniil Kovalev authored
      llvm/test/CodeGen/AArch64/elf-globals-pic.ll:
      
      Since https://reviews.llvm.org/D91734, elf-globals-static.ll test
      contains several `CHECK-PIC` lines. They do not seem to bring any value
      since there are no FileCheck run lines checking against this prefix. The
      right place for such tests should be elf-globals-pic.ll, which already
      contains check lines being deleted in this commit. Both
      elf-globals-pic.ll and elf-globals-static.ll were created after
      splitting arm64-elf-globals.ll in 6dbd0eac, and having `CHECK-PIC` lines
      in elf-globals-static.ll seems like an issue occurred because of git
      thinking that elf-globals-pic.ll is a new file and elf-global-static.ll
      is a rename of arm64-elf-globals.ll.
      
      llvm/test/CodeGen/AArch64/tagged-globals-pic.ll:
      
      Similar to elf-globals-pic.ll, contains unneeded
      `CHECK-SELECTIONDAGISEL` and `CHECK-GLOBALISEL` directives not checked
      by any FileCheck invocation. These directives are present in
      tagged-globals-static.ll. Both tests are present in the code tree since
      fd326398 when tagged-globals.ll was splitted into
      tagged-globals-{pic|static}.ll.
      89eb1a5a
    • Peter Klausler's avatar
      [flang] Clean up ISO_FORTRAN_ENV, fix NUMERIC_STORAGE_SIZE (#87566) · e1ad2735
      Peter Klausler authored
      Address TODOs in the intrinsic module ISO_FORTRAN_ENV, and extend the
      implementation of NUMERIC_STORAGE_SIZE so that the calculation of its
      value is deferred until it is needed so that the effects of
      -fdefault-integer-8 or -fdefault-real-8 are reflected. Emit a warning
      when NUMERIC_STORAGE_SIZE is used from the module file and the default
      integer and real sizes do not match.
      
      Fixes https://github.com/llvm/llvm-project/issues/87476.
      e1ad2735
    • Peter Klausler's avatar
      [flang] Don't allow non-standard data conversions of potentially abse… (#87391) · 97e3f605
      Peter Klausler authored
      …nt arguments
      
      Arguments to the intrinsic functions MAX and MIN after the first two are
      optional. When these actual arguments might not be present at run time,
      emit a compilation time error if they require data conversion (a
      non-standard but nearly universal language extension); such a conversion
      would crash if the argument was absent.
      
      Other compilers either disallow data conversions entirely on MAX/MIN or
      crash at run time if a converted argument is absent.
      
      Fixes https://github.com/llvm/llvm-project/issues/87046.
      97e3f605
    • Peter Klausler's avatar
      [flang] Improve error message with declaration (#87294) · aace1e17
      Peter Klausler authored
      When a program attempts to use a non-object entity as the base of a
      component reference or type parameter inquiry, the message is somewhat
      uninformative and the position of the entity's declaration will not
      reflect any updates made to the symbol during name resolution.
      
      Includes some NFC C++17 style clean-up on some code noticed while
      debugging (missing mandatory braces).
      aace1e17
    • Peter Klausler's avatar
      [flang] Handle forward reference to shadowing derived type from IMPLICIT (#87280) · af61d082
      Peter Klausler authored
      A derived type name in an IMPLICIT statement might be a host association
      or it might be a forward reference to a local derived type, which may be
      shadowing a host-associated name. Add a scan over the specification part
      in search of derived type definitions to determine the right
      interpretation.
      
      Fixes https://github.com/llvm/llvm-project/issues/87215.
      af61d082
    • Peter Klausler's avatar
      [flang] Fix crash in reduction folding (#87201) · b685597c
      Peter Klausler authored
      A reduction folding template assumed lower bounds were 1.
      
      Fixes https://github.com/llvm/llvm-project/issues/86935.
      b685597c
    • Peter Klausler's avatar
      [flang] Fix crash in semantics on bad program (#87199) · 92ecc22b
      Peter Klausler authored
      Don't accept a putative statement function definition for a symbol that
      is a subprogram but can't possibly be a statement function.
      
      Fixes https://github.com/llvm/llvm-project/issues/86936.
      92ecc22b
    • Kevin P. Neal's avatar
      [FPEnv][X86] Correct one more strictfp test. · eeedb1e9
      Kevin P. Neal authored
      Correct a strictfp test to follow the rules documented in the
      LangRef:
      https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics
      
      This test needed the strictfp attribute added to some function
      definitions. FP wait instructions now appear as a result. The need
      for the wait instructions is explained by Andy Kaylor in PR#87791:
      https://github.com/llvm/llvm-project/pull/87791
      
      Test changes verified with D146845.
      eeedb1e9
    • Vlad Serebrennikov's avatar
      [clang] Reject incomplete types in `__is_layout_compatible()` (#87869) · fd2ffc1c
      Vlad Serebrennikov authored
      This is a follow-up to #81506. As discussed in #87737, we're rejecting
      incomplete types, save for exceptions listed in the C++ standard (`void`
      and arrays of unknown bound). Note that arrays of unknown bound of
      incomplete types are accepted.
      
      Since we're happy with the current behavior of this intrinsic for
      flexible array members
      (https://github.com/llvm/llvm-project/pull/87737#discussion_r1553652570),
      I added a couple of tests for that as well.
      fd2ffc1c
    • Vlad Serebrennikov's avatar
      [clang] Add test for CWG593 (#87752) · 125c9cf1
      Vlad Serebrennikov authored
      [CWG593](https://cplusplus.github.io/CWG/issues/593.html) "Falling off
      the end of a destructor's function-try-block handler". As usual with CWG
      issues resolved as NAD, we test for status-quo confirmed by CWG.
      125c9cf1
    • Florian Hahn's avatar
      [LAA] Add tests with non-constant strides & distances. · 977c0a6d
      Florian Hahn authored
      Add a number of LAA test cases with both forward and backward
      dependences with non-constant strides and dependence distances.
      
      This includes test coverage for
      https://github.com/llvm/llvm-project/issues/87336
      
      Also includes a LoopLoadElimination test to make sure the pass does not
      crash on non-constant dependence distances.
      977c0a6d
    • Hristo Hristov's avatar
      [libc++][format] Fixed `println.blank_line.sh.cpp` test on llvm-clang-win-x-*... · ea2392ed
      Hristo Hristov authored
      [libc++][format] Fixed `println.blank_line.sh.cpp` test on llvm-clang-win-x-* configurations (#88011)
      
      Fix for issue:
      https://github.com/llvm/llvm-project/pull/87277#issuecomment-2041864530
      
      The test fails on the windows to linux cross builders. The proposed
      resolution is to print some text. The issue is possibly due to the
      original test outputting a single `\n` character.
      ea2392ed
    • Vlad Serebrennikov's avatar
      [clang] Add CodeGen tests for CWG 6xx issues (#87876) · 93e2a9ab
      Vlad Serebrennikov authored
      This patch covers
      [CWG605](https://cplusplus.github.io/CWG/issues/605.html) "Linkage of
      explicit specializations",
      [CWG650](https://cplusplus.github.io/CWG/issues/650.html) "Order of
      destruction for temporaries bound to the returned value of a function",
      [CWG653](https://cplusplus.github.io/CWG/issues/653.html) "Copy
      assignment of unions",
      [CWG658](https://cplusplus.github.io/CWG/issues/658.html) "Defining
      `reinterpret_cast` for pointer types",
      [CWG661](https://cplusplus.github.io/CWG/issues/661.html) "Semantics of
      arithmetic comparisons",
      [CWG672](https://cplusplus.github.io/CWG/issues/672.html) "Sequencing of
      initialization in _new-expression_s".
      
      [CWG624](https://cplusplus.github.io/CWG/issues/624.html) "Overflow in
      calculating size of allocation" and
      [CWG668](https://cplusplus.github.io/CWG/issues/668.html) "Throwing an
      exception from the destructor of a local static object" are marked as
      requiring libc++abi tests.
      93e2a9ab
    • Vlad Serebrennikov's avatar
      [clang] Introduce `SemaHLSL` (#87912) · d345f6a2
      Vlad Serebrennikov authored
      This patch introduces `SemaHLSL` class, and moves some HLSL-related
      functions there. No functional changes intended.
      
      Removing "HLSL" from function names inside `SemaHLSL` is left for a
      subsequent PR by HLSL contributors, if they deem that desirable.
      
      This is a part of the effort to split `Sema` into smaller manageable
      parts, and follows the example of OpenACC. See #82217, #84184, #87634
      for additional context.
      d345f6a2
    • Philip Reames's avatar
      [RISCV] Eliminate getVLENFactoredAmount and expose muladd [nfc] (#87881) · 39f6d015
      Philip Reames authored
      
      
      This restructures the code to make the fact that most of
      getVLENFactoredAmount is just a generic multiply w/immediate more
      obvious and prepare for a couple of upcoming enhancements to this code.
      
      Note that I plan to switch mulImm to early return, but decided I'd do
      that as a separate commit to keep this diff readable.
      
      ---------
      
      Co-authored-by: default avatarLuke Lau <luke_lau@icloud.com>
      39f6d015
    • Valentin Clement (バレンタイン クレメン)'s avatar
      [flang][cuda] Allow list-directed PRINT and WRITE stmt in device code (#87415) · 896b5e55
      The specification allow list-directed PRINT and WRITE statements to
      appear in device code. This patch relax the semantic check to allow
      them.
      
      3.6.11.
      List-directed PRINT and WRITE statements to the default unit may be used
      when compiling for compute capability 2.0 and higher; all other uses of
      PRINT and WRITE are disallowed.
      896b5e55
    • Schrodinger ZHU Yifan's avatar
      [libc] remove MPFR and related tests in full build (#87693) · 54c24ec9
      Schrodinger ZHU Yifan authored
      In full build mode, the fuzzing tests fail to build. This PR disabled MPFR related tests in full build
      ```
      [2/4] Building CXX object projects/libc/fuzzing/stdio/CMakeFiles/libc.fuzzing.stdio.printf_float_conv_fuzz.dir/printf_float_conv_fuzz.cpp.o
      FAILED: projects/libc/fuzzing/stdio/CMakeFiles/libc.fuzzing.stdio.printf_float_conv_fuzz.dir/printf_float_conv_fuzz.cpp.o 
      /usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/schrodingerzy/Documents/llvm/llvm-project/build/projects/libc/fuzzing/stdio -I/home/schrodingerzy/Documents/llvm/llvm-project/libc/fuzzing/stdio -I/home/schrodingerzy/Documents/llvm/llvm-project/libc -isystem /home/schrodingerzy/Documents/llvm/llvm-project/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fsanitize=fuzzer -O2 -g -DNDEBUG -std=c++17 -MD -MT projects/libc/fuzzing/stdio/CMakeFiles/libc.fuzzing.stdio.printf_float_conv_fuzz.dir/printf_float_conv_fuzz.cpp.o -MF projects/libc/fuzzing/stdio/CMakeFiles/libc.fuzzing.stdio.printf_float_conv_fuzz.dir/printf_float_conv_fuzz.cpp.o.d -o projects/libc/fuzzing/stdio/CMakeFiles/libc.fuzzing.stdio.printf_float_conv_fuzz.dir/printf_float_conv_fuzz.cpp.o -c /home/schrodingerzy/Documents/llvm/llvm-project/libc/fuzzing/stdio/printf_float_conv_fuzz.cpp
      In file included from /home/schrodingerzy/Documents/llvm/llvm-project/libc/fuzzing/stdio/printf_float_conv_fuzz.cpp:19:
      In file included from /home/schrodingerzy/Documents/llvm/llvm-project/libc/utils/MPFRWrapper/mpfr_inc.h:21:
      In file included from /usr/include/mpfr.h:53:
      In file included from /usr/include/gmp.h:35:
      In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/iosfwd:38:
      In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/requires_hosted.h:31:
      In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu/bits/c++config.h:679:
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:44:5: error: function-like macro '__GLIBC_PREREQ' is not defined
         44 | #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
            |     ^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:55:5: error: function-like macro '__GLIBC_PREREQ' is not defined
         55 | #if __GLIBC_PREREQ(2, 26) \
            |     ^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:66:6: error: function-like macro '__GLIBC_PREREQ' is not defined
         66 | # if __GLIBC_PREREQ(2, 27)
            |      ^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:78:6: error: function-like macro '__GLIBC_PREREQ' is not defined
         78 | # if __GLIBC_PREREQ(2, 34)
            |      ^
      In file included from /home/schrodingerzy/Documents/llvm/llvm-project/libc/fuzzing/stdio/printf_float_conv_fuzz.cpp:19:
      In file included from /home/schrodingerzy/Documents/llvm/llvm-project/libc/utils/MPFRWrapper/mpfr_inc.h:21:
      In file included from /usr/include/mpfr.h:53:
      In file included from /usr/include/gmp.h:35:
      In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/iosfwd:42:
      In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/postypes.h:40:
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:64:11: error: no member named 'mbstate_t' in the global namespace
         64 |   using ::mbstate_t;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:143:11: error: no member named 'btowc' in the global namespace
        143 |   using ::btowc;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:144:11: error: no member named 'fgetwc' in the global namespace
        144 |   using ::fgetwc;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:145:11: error: no member named 'fgetws' in the global namespace
        145 |   using ::fgetws;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:146:11: error: no member named 'fputwc' in the global namespace
        146 |   using ::fputwc;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:147:11: error: no member named 'fputws' in the global namespace
        147 |   using ::fputws;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:148:11: error: no member named 'fwide' in the global namespace
        148 |   using ::fwide;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:149:11: error: no member named 'fwprintf' in the global namespace
        149 |   using ::fwprintf;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:150:11: error: no member named 'fwscanf' in the global namespace
        150 |   using ::fwscanf;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:151:11: error: no member named 'getwc' in the global namespace
        151 |   using ::getwc;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:152:11: error: no member named 'getwchar' in the global namespace
        152 |   using ::getwchar;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:153:11: error: no member named 'mbrlen' in the global namespace
        153 |   using ::mbrlen;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:154:11: error: no member named 'mbrtowc' in the global namespace
        154 |   using ::mbrtowc;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:155:11: error: no member named 'mbsinit' in the global namespace
        155 |   using ::mbsinit;
            |         ~~^
      /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/cwchar:156:11: error: no member named 'mbsrtowcs' in the global namespace
        156 |   using ::mbsrtowcs;
            |         ~~^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      ```
      54c24ec9
    • Alexey Bataev's avatar
      [SLP][NFC]Remove unused variable, NFC. · 78c50bbd
      Alexey Bataev authored
      78c50bbd
    • Min-Yih Hsu's avatar
      [AArch64][LoopIdiom] Disable LoopIdiomTransform when NoImplicitFloat is present (#87677) · f6315a95
      Min-Yih Hsu authored
      This behavior is aligned with both LoopVectorizer and SLPVectorizer.
      f6315a95
    • erichkeane's avatar
      Fix build issue committed in 26fee0ff · 4d6e67f6
      erichkeane authored
      I brain-farted on how assert works :)
      4d6e67f6
    • Erich Keane's avatar
      [OpenACC] Implement Sema work for OpenACC Clauses (#87821) · 26fee0ff
      Erich Keane authored
      Now that we have AST nodes for OpenACC Clauses, this patch adds their
      creation to Sema and makes the Parser call all the required functions.
      This also redoes TreeTransform to work with the clauses/make sure they
      are transformed.
      
      Much of this is NFC, since there is no clause we can test this behavior
      with. However, there IS one noticable change; we are now no longer
      diagnosing that a clause is 'not implemented' unless it there was no
      errors parsing its parameters. This is because it cleans up how we
      create and diagnose clauses.
      26fee0ff
  2. Apr 08, 2024