summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/sdata-array.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/sdata-array.ll')
-rw-r--r--llvm/test/CodeGen/Hexagon/sdata-array.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Hexagon/sdata-array.ll b/llvm/test/CodeGen/Hexagon/sdata-array.ll
index 89ef46079f7..cea86bd426d 100644
--- a/llvm/test/CodeGen/Hexagon/sdata-array.ll
+++ b/llvm/test/CodeGen/Hexagon/sdata-array.ll
@@ -5,9 +5,9 @@
@foo = common global [4 x i8] zeroinitializer, align 1
-define void @set() nounwind {
+define void @set(i8 %x) nounwind {
entry:
- store i8 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1
+ store i8 %x, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1
ret void
}
OpenPOWER on IntegriCloud