Make the description of the hotpatch attribute even more generic. Spotted by
[oota-llvm.git] / test / Transforms / DeadStoreElimination / partial-overwrite.ll
1 ; RUN: opt -dse -S %s | FileCheck %s
2 ; Note that we could do better by merging the two stores into one.
3
4 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"
5 target triple = "x86_64-unknown-linux-gnu"
6
7 define void @test(i32* %P) {
8   store i32 0, i32* %P
9 ; CHECK: store i32
10   %Q = bitcast i32* %P to i16*
11   store i16 1, i16* %Q
12 ; CHECK: store i16
13   ret void
14 }