From 0e265a2cc588f5b6888ab187d376abbd1c321dc8 Mon Sep 17 00:00:00 2001 From: anthony cantor Date: Sat, 17 Aug 2013 01:53:03 -0600 Subject: [PATCH] TargetTransformInfo stuff doesnt work in llvm >= 3.3 --- test/pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pass.py b/test/pass.py index 20429d7..a84e7e2 100644 --- a/test/pass.py +++ b/test/pass.py @@ -27,7 +27,7 @@ class TestPass(unittest.TestCase): self.assertTrue(tli.description) pm.add(tli) - if llvm.version >= (3, 2): + if llvm.version >= (3, 2) and llvm.version < (3, 3): tti = TargetTransformInfo.new(tm) self.assertFalse(tti.name) self.assertTrue(tti.description)