[llvm] 38f28f4 - [Test] Fix test case demonstrating oddities in behavior of LSR.

Yvan Roux via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 07:03:36 PST 2021


Author: Yvan Roux
Date: 2021-02-05T16:03:24+01:00
New Revision: 38f28f4621ed0a06347a89f2743d49c4a611d0a7

URL: https://github.com/llvm/llvm-project/commit/38f28f4621ed0a06347a89f2743d49c4a611d0a7
DIFF: https://github.com/llvm/llvm-project/commit/38f28f4621ed0a06347a89f2743d49c4a611d0a7.diff

LOG: [Test] Fix test case demonstrating oddities in behavior of LSR.

Add x86 targets requirement to fix bots which are not building these
targets.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopStrengthReduce/post-increment-insertion.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopStrengthReduce/post-increment-insertion.ll b/llvm/test/Transforms/LoopStrengthReduce/post-increment-insertion.ll
index d7fa20803f87..a2645b822cb2 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/post-increment-insertion.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/post-increment-insertion.ll
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -loop-reduce -S | FileCheck %s
+; REQUIRES: x86-registered-target
 
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128-ni:1-p2:32:8:8:32-ni:2"
 target triple = "x86_64-unknown-linux-gnu"


        


More information about the llvm-commits mailing list