[all-commits] [llvm/llvm-project] cf49d0: Revert "[GVNSink] Fix incorrect codegen with respe...

AdityaK via All-commits all-commits at lists.llvm.org
Tue Apr 30 13:21:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf49d077fd75278abc405c8c125f40a975c830b4
      https://github.com/llvm/llvm-project/commit/cf49d077fd75278abc405c8c125f40a975c830b4
  Author: AdityaK <hiraditya at msn.com>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVNSink.cpp
    R llvm/test/Transforms/GVNSink/different-gep-types.ll

  Log Message:
  -----------
  Revert "[GVNSink] Fix incorrect codegen with respect to GEPs #85333" (#90658)

Reverts llvm/llvm-project#88440

Test failing on Windows:
https://lab.llvm.org/buildbot/#/builders/233/builds/9396
```
Input file: <stdin>
# | Check file: C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\GVNSink\different-gep-types.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           42:  br label %if.end6 
# |           43:  
# |           44: if.else5: ; preds = %if.else 
# |           45:  br label %if.end6 
# |           46:  
# |           47: if.end6: ; preds = %if.else5, %if.then3, %if.then 
# | next:67'0             X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:67'1                                                        with "IF_THEN" equal to "%if\\.then"
# | next:67'2                                                        with "IF_THEN3" equal to "%if\\.then3"
# | next:67'3                                                        with "IF_ELSE5" equal to "%if\\.else5"
# |           48:  %.sink1 = phi i32 [ -8, %if.then3 ], [ -4, %if.else5 ], [ 8, %if.then ] 
# | next:67'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:67'4      ?                                                                        possible intended match
# |           49:  %0 = load ptr, ptr %__i, align 4 
# | next:67'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           50:  %incdec.ptr4 = getelementptr inbounds i8, ptr %0, i32 %.sink1 
# | next:67'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           51:  store ptr %incdec.ptr4, ptr %__i, align 4 
# | next:67'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           52:  ret void 
# | next:67'0     ~~~~~~~~~~
# |           53: } 
# | next:67'0     ~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list