[PATCH] D126265: [Hexagon] Fix test on OpenBSD

Brad Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 20:30:30 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG244494a201f8: [Hexagon] Fix test on OpenBSD (authored by brad).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126265/new/

https://reviews.llvm.org/D126265

Files:
  llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll


Index: llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll
===================================================================
--- llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll
+++ llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll
@@ -1,9 +1,9 @@
 ; Check that the __stack_chk_guard was placed in small data.
-; RUN: llc -march=hexagon -O2 -hexagon-small-data-threshold=4 < %s | FileCheck -check-prefix=GPREL %s
+; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -O2 -hexagon-small-data-threshold=4 < %s | FileCheck -check-prefix=GPREL %s
 ; GPREL: memw(gp+#__stack_chk_guard)
 
 ; For threshold less than 4 (size of address), the variable is not placed in small-data
-; RUN: llc -march=hexagon -O2 -hexagon-small-data-threshold=0 < %s | FileCheck -check-prefix=ABS %s
+; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -O2 -hexagon-small-data-threshold=0 < %s | FileCheck -check-prefix=ABS %s
 ; ABS: memw(##__stack_chk_guard)
 
 @g0 = private unnamed_addr constant [37 x i8] c"This string is longer than 16 bytes\0A\00", align 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126265.431574.patch
Type: text/x-patch
Size: 1046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/ea9286f2/attachment.bin>


More information about the llvm-commits mailing list