[llvm] cc574f8 - Add datalayout to test added in 7e3183d73

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 13:10:28 PST 2021


Author: Philip Reames
Date: 2021-02-19T13:10:19-08:00
New Revision: cc574f85faacba023d6c2ce21037811a63f66837

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

LOG: Add datalayout to test added in 7e3183d73

Realized after pushing this would probably fail on bots for other than x86-64.

Added: 
    

Modified: 
    llvm/test/Analysis/ScalarEvolution/ranges.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/ScalarEvolution/ranges.ll b/llvm/test/Analysis/ScalarEvolution/ranges.ll
index dbdc90fa6ada..9748b8562a78 100644
--- a/llvm/test/Analysis/ScalarEvolution/ranges.ll
+++ b/llvm/test/Analysis/ScalarEvolution/ranges.ll
@@ -2,6 +2,7 @@
  ; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution | FileCheck %s
  ; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" 2>&1 | FileCheck %s
 
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64"
 
 ; Collection of cases exercising range logic, mostly (but not exclusively)
 ; involving SCEVUnknowns.


        


More information about the llvm-commits mailing list