hanchenye-llvm-project/llvm/test/Regression/Transforms/InstCombine/store.ll

10 lines
210 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v 'store.*,.*null' | not grep store
void %test1(int* %P) {
store int undef, int* %P
store int 123, int* undef
store int 124, int* null
ret void
}