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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `llvm` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
221.515 [160/12/5829] Linking CXX executable tools/clang/unittests/StaticAnalyzer/StaticAnalysisTests
221.813 [159/12/5830] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests
222.066 [158/12/5831] Linking CXX executable tools/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests
222.710 [157/12/5832] Linking CXX executable tools/clang/unittests/AST/ASTTests
222.888 [156/12/5833] Linking CXX executable tools/clang/unittests/AST/ByteCode/InterpTests
223.090 [155/12/5834] Linking CXX executable tools/clang/unittests/CrossTU/CrossTUTests
223.141 [154/12/5835] Linking CXX executable tools/clang/unittests/libclang/libclangTests
223.262 [153/12/5836] Linking CXX executable tools/clang/unittests/libclang/CrashTests/libclangCrashTests
223.445 [152/12/5837] Linking CXX executable tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTests
225.099 [151/12/5838] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o
FAILED: unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/local/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/x86_64-darwin/build/unittests/CodeGen/GlobalISel -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel -I/Users/buildbot/buildbot-root/x86_64-darwin/build/include -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/include -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/third-party/unittest/googletest/include -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/third-party/unittest/googlemock/include -isystem /usr/local/include -fPIC -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 -O3 -DNDEBUG -std=c++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -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 /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:84:14: error: no member named 'setFlag' in 'llvm::MachineInstrBuilder'; did you mean 'setMIFlag'?
    MIBFAdd2.setFlag(MachineInstr::FmNsz);
             ^~~~~~~
             setMIFlag
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBuilder.h:280:30: note: 'setMIFlag' declared here
  const MachineInstrBuilder &setMIFlag(MachineInstr::MIFlag Flag) const {
                             ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:87:13: error: no member named 'clearFlag' in 'llvm::MachineInstrBuilder'; did you mean to use '->' instead of '.'?
    MIBFAdd2.clearFlag(MachineInstr::FmNsz);
            ^
            ->
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:97:14: error: no member named 'setFlag' in 'llvm::MachineInstrBuilder'; did you mean 'setMIFlag'?
    MIBFSub2.setFlag(MachineInstr::FmNoNans);
             ^~~~~~~
             setMIFlag
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBuilder.h:280:30: note: 'setMIFlag' declared here
  const MachineInstrBuilder &setMIFlag(MachineInstr::MIFlag Flag) const {
                             ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:100:13: error: no member named 'clearFlag' in 'llvm::MachineInstrBuilder'; did you mean to use '->' instead of '.'?
    MIBFSub2.clearFlag(MachineInstr::FmNoNans);
            ^
            ->
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:110:14: error: no member named 'setFlag' in 'llvm::MachineInstrBuilder'; did you mean 'setMIFlag'?
    MIBFMul2.setFlag(MachineInstr::FmNoNans);
             ^~~~~~~
             setMIFlag
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBuilder.h:280:30: note: 'setMIFlag' declared here
  const MachineInstrBuilder &setMIFlag(MachineInstr::MIFlag Flag) const {
                             ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:113:13: error: no member named 'clearFlag' in 'llvm::MachineInstrBuilder'; did you mean to use '->' instead of '.'?
    MIBFMul2.clearFlag(MachineInstr::FmNoNans);
            ^
            ->
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp:123:14: error: no member named 'setFlag' in 'llvm::MachineInstrBuilder'; did you mean 'setMIFlag'?
    MIBFDiv2.setFlag(MachineInstr::FmNoNans);
             ^~~~~~~
             setMIFlag

```

</details>

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


More information about the llvm-commits mailing list