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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-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/137/builds/12039

<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)
...
7.126 [2/10/737] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
7.182 [2/9/738] Linking CXX executable unittests/MIR/MIRTests
7.260 [2/8/739] Linking CXX executable unittests/CodeGen/CodeGenTests
7.324 [2/7/740] Linking CXX executable unittests/MI/MITests
7.359 [2/6/741] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.419 [2/5/742] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
7.501 [2/4/743] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
8.153 [2/3/744] Linking CXX executable unittests/Target/TargetMachineCTests
8.304 [2/2/745] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
10.573 [2/1/746] 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++ -DCPUINFO_SUPPORTED_PLATFORM=1 -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-dev-x86-64-b1/build/unittests/CodeGen/GlobalISel -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include -isystem /tmp/tflitebuild/tensorflow/include -isystem /tmp/tflitebuild/eigen/include/eigen3 -isystem /tmp/tflitebuild/abseil-cpp/include -isystem /tmp/tflitebuild/flatbuffers/include -isystem /tmp/tflitebuild/gemmlowp/include/gemmlowp -isystem /tmp/tflitebuild/ml_dtypes/src/ml_dtypes -isystem /tmp/tflitebuild/ml_dtypes/src/ml_dtypes/ml_dtypes -isystem /tmp/tflitebuild/ruy/include -isystem /tmp/tflitebuild/cpuinfo/include -isystem /tmp/tflitebuild/ARM_NEON_2_x86_SSE/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 -DEIGEN_NEON_GEBP_NR=4 -DTFL_STATIC_LIBRARY_BUILD -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-dev-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp: In member function ‘virtual void {anonymous}::AArch64GISelMITest_TestCSE_Test::TestBody()’:
/b/ml-opt-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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-dev-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