1; RUN: opt -S -dxil-prepare < %s | FileCheck %s
2target triple = "dxil-unknown-unknown"
3
4; Make sure not crash when has typed ptr.
5; CHECK:@test
6
7define i64 @test(i64* %p) {
8  %v = load i64, i64* %p
9  ret i64 %v
10}
11