[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:26:07 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
6.558 [2/10/736] Linking CXX executable unittests/MIR/MIRTests
6.703 [2/9/737] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
6.707 [2/8/738] Linking CXX executable unittests/CodeGen/CodeGenTests
6.759 [2/7/739] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
6.801 [2/6/740] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
6.833 [2/5/741] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
6.840 [2/4/742] Linking CXX executable unittests/MI/MITests
7.051 [2/3/743] Linking CXX executable unittests/Target/TargetMachineCTests
7.611 [2/2/744] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
9.483 [2/1/745] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o
FAILED: unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o 
ccache /usr/bin/c++ -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/b/ml-opt-rel-x86-64-b1/build/unittests/CodeGen/GlobalISel -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/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 -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 /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp: In member function ‘virtual void {anonymous}::AArch64GISelMITest_TestCSE_Test::TestBody()’:
/b/ml-opt-rel-x86-64-b1/llvm-project/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:87:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
   87 |     MIBFAdd2.clearFlag(MachineInstr::FmNsz);
      |              ^~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:100:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  100 |     MIBFSub2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:113:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  113 |     MIBFMul2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:126:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  126 |     MIBFDiv2.clearFlag(MachineInstr::FmNoNans);
      |              ^~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:139:14: error: ‘class llvm::MachineInstrBuilder’ has no member named ‘clearFlag’
  139 |     MIBFAbs2.clearFlag(MachineInstr::FmNsz);
      |              ^~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/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