[llvm] [GISel] Add more FP opcodes to CSE (PR #123624)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 06:28:29 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-linux-abi-test` running on `sie-linux-worker2` while building `llvm` at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/8/builds/10136

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (build-unified-tree) failure: build (failure)
...
In member function ‘void llvm::ContextAndReplaceableUses::makeReplaceable(std::unique_ptr<llvm::ReplaceableMetadataImpl>)’,
    inlined from ‘virtual void {anonymous}::ContextAndReplaceableUsesTest_makeReplaceable_Test::TestBody()’ at /home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp:49:22:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/IR/Metadata.h:1025:31: warning: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘Context’ [-Wfree-nonheap-object]
 1025 |     delete getReplaceableUses();
      |                               ^
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp: In member function ‘virtual void {anonymous}::ContextAndReplaceableUsesTest_makeReplaceable_Test::TestBody()’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp:47:15: note: declared here
   47 |   LLVMContext Context;
      |               ^~~~~~~
249.599 [377/10/6691] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o
FAILED: unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o 
/opt/ccache/bin/g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/abi-test/build/unittests/CodeGen/GlobalISel -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel -I/home/buildbot/buildbot-root/abi-test/build/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/include -I/home/buildbot/buildbot-root/abi-test/llvm/third-party/unittest/googletest/include -I/home/buildbot/buildbot-root/abi-test/llvm/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o -MF unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o.d -o unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o -c /home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp: In member function ‘virtual void {anonymous}::AArch64GISelMITest_TestCSE_Test::TestBody()’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:84:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?
   84 |     MIBFAdd2.setFlag(MachineInstr::FmNsz);
      |              ^~~~~~~
      |              setMIFlag
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:87:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
   87 |     MIBFAdd2.clearFlag(MachineInstr::FmNsz);
      |              ^~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:97:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?
   97 |     MIBFSub2.setFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~
      |              setMIFlag
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:100:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  100 |     MIBFSub2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:110:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?
  110 |     MIBFMul2.setFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~
      |              setMIFlag
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:113:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  113 |     MIBFMul2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:123:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?
  123 |     MIBFDiv2.setFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~
      |              setMIFlag
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:126:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  126 |     MIBFDiv2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:136:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?
  136 |     MIBFAbs2.setFlag(MachineInstr::FmNsz);
      |              ^~~~~~~
      |              setMIFlag
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:139:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  139 |     MIBFAbs2.clearFlag(MachineInstr::FmNsz);
      |              ^~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:149:17: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘setFlag’; did you mean ‘setMIFlag’?

```

</details>

https://github.com/llvm/llvm-project/pull/123624


More information about the llvm-commits mailing list