[llvm] [NFC][LLVM] Add "using namespace Intrinsic" to Intrinsics.cpp (PR #181951)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 17 18:02:40 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 131000 tests passed
* 2943 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.TableGen/intrinsic-attrs.td</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llvm-tblgen.exe -gen-intrinsic-impl -I C:\_work\llvm-project\llvm-project\llvm\test\TableGen/../../include -DTEST_INTRINSICS_SUPPRESS_DEFS C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-tblgen.exe' -gen-intrinsic-impl -I 'C:\_work\llvm-project\llvm-project\llvm\test\TableGen/../../include' -DTEST_INTRINSICS_SUPPRESS_DEFS 'C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td:41:11: error: CHECK: expected string not found in input
# | // CHECK: getAttributes(LLVMContext &C, ID id,
# | ^
# | <stdin>:201:29: note: scanning from here
# | }; // ArgAttributesInfoTable
# | ^
# | <stdin>:213:26: note: possible intended match here
# | AttributeList Intrinsic::getAttributes(LLVMContext &C, ID Id,
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\TableGen\intrinsic-attrs.td
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 196:
# | 197: // Number of entries: 2
# | 198: static constexpr ArgAttributesInfo ArgAttributesInfoTable[] = {
# | 199: {0, 1},
# | 200: {0, 0},
# | 201: }; // ArgAttributesInfoTable
# | check:41'0 X error: no match found
# | 202:
# | check:41'0 ~
# | 203:
# | check:41'0 ~
# | 204: template <typename IDTy>
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 205: inline std::pair<uint32_t, uint32_t> unpackID(const IDTy PackedID) {
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 206: constexpr uint8_t UniqAttributesBitSize = 1;
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 207: const uint32_t FnAttrID = PackedID >> UniqAttributesBitSize;
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 208: const uint32_t ArgAttrID = PackedID &
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 209: maskTrailingOnes<uint32_t>(UniqAttributesBitSize);
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 210: return {FnAttrID, ArgAttrID};
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 211: }
# | check:41'0 ~~
# | 212:
# | check:41'0 ~
# | 213: AttributeList Intrinsic::getAttributes(LLVMContext &C, ID Id,
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:41'1 ? possible intended match
# | 214: FunctionType *FT) {
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~
# | 215: if (Id == 0)
# | check:41'0 ~~~~~~~~~~~~~~
# | 216: return AttributeList();
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 217: auto [FnAttrID, ArgAttrID] = unpackID(IntrinsicsToAttributesMap[Id - 1]);
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 218: using PairTy = std::pair<unsigned, AttributeSet>;
# | check:41'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/181951
More information about the llvm-commits
mailing list