forked from OSchip/llvm-project
[DSE,MSSA] Enable XFAIL'd merge-stores.ll test (NFC).
All cases in the test are supported now, it only still failed because an over-eager regex match not accounting for `, align ` being added to each load/store now.
This commit is contained in:
parent
4836188ad9
commit
88f722c269
|
@ -1,5 +1,4 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; XFAIL: *
|
||||
; RUN: opt -dse -enable-dse-memoryssa -enable-dse-partial-store-merging -S < %s | FileCheck %s
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-f128:128:128-n8:16:32:64"
|
||||
|
||||
|
@ -190,16 +189,16 @@ define void @PR34074(i32* %x, i64* %y) {
|
|||
|
||||
define void @PR36129(i32* %P, i32* %Q) {
|
||||
; CHECK-LABEL: @PR36129(
|
||||
; CHECK-NEXT: store i32 1, i32* [[P:%.*]]
|
||||
; CHECK-NEXT: store i32 1, i32* [[P:%.*]], align 4
|
||||
; CHECK-NEXT: [[P2:%.*]] = bitcast i32* [[P]] to i8*
|
||||
; CHECK-NEXT: store i32 2, i32* [[Q:%.*]]
|
||||
; CHECK-NEXT: store i8 3, i8* [[P2]]
|
||||
; CHECK-NEXT: store i32 2, i32* [[Q:%.*]], align 4
|
||||
; CHECK-NEXT: store i8 3, i8* [[P2]], align 1
|
||||
; CHECK-NEXT: ret void
|
||||
;
|
||||
store i32 1, i32* %P
|
||||
store i32 1, i32* %P, align 4
|
||||
%P2 = bitcast i32* %P to i8*
|
||||
store i32 2, i32* %Q
|
||||
store i8 3, i8* %P2
|
||||
store i32 2, i32* %Q, align 4
|
||||
store i8 3, i8* %P2, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue