[llvm] 3558da3 - [Sanitizers] Fix test that never ran anywhere

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 07:20:44 PST 2022


Author: Paul Robinson
Date: 2022-11-30T07:20:27-08:00
New Revision: 3558da3d89469693d0cf9d51117bf8db532ae945

URL: https://github.com/llvm/llvm-project/commit/3558da3d89469693d0cf9d51117bf8db532ae945
DIFF: https://github.com/llvm/llvm-project/commit/3558da3d89469693d0cf9d51117bf8db532ae945.diff

LOG: [Sanitizers] Fix test that never ran anywhere

Incorrect REQUIRES clause. Also fixed the incorrect 'opt' line
and removed a redundant -mtriple option.

Added: 
    

Modified: 
    llvm/test/Analysis/StackSafetyAnalysis/i386-bug-fix.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/StackSafetyAnalysis/i386-bug-fix.ll b/llvm/test/Analysis/StackSafetyAnalysis/i386-bug-fix.ll
index b6e65f94d0d1f..54708059d2757 100644
--- a/llvm/test/Analysis/StackSafetyAnalysis/i386-bug-fix.ll
+++ b/llvm/test/Analysis/StackSafetyAnalysis/i386-bug-fix.ll
@@ -1,6 +1,6 @@
-; REQUIRES: i386-pc-linux-gnu
+; REQUIRES: x86-registered-target
 
-; RUN: opt passes="print-stack-safety" -disable-output -mtriple=i386-pc-linux-gnu %s 2>&1 | FileCheck %s --check-prefixes=CHECK
+; RUN: opt -passes="print-stack-safety" -disable-output %s 2>&1 | FileCheck %s --check-prefixes=CHECK
 
 ; CHECK:      @main
 ; CHECK-NEXT:   args uses:


        


More information about the llvm-commits mailing list