diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-03-24 14:43:42 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-03-24 14:43:42 +0000 |
commit | 88a569a9781e0472a1f1c392f6c94ed0c068d946 (patch) | |
tree | 8db63217e09c61531564feeb57aba541503fcc8c /test/CodeGen | |
parent | d961ea91e14fdf4047db3e891def9951ee7afde1 (diff) |
Revert r153360 (and r153380), "Second part of PR12251. Produce the range metadata in clang for booleans and".
For i686 targets (eg. cygwin), I saw "Range must not be empty!" in verifier.
It produces (i32)[0x80000000:0x80000000) from (uint64_t)[0xFFFFFFFF80000000ULL:0x0000000080000000ULL), for signed i32 on MDNode::Range.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/pr12251.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/CodeGen/pr12251.c b/test/CodeGen/pr12251.c deleted file mode 100644 index a644bb79da..0000000000 --- a/test/CodeGen/pr12251.c +++ /dev/null @@ -1,11 +0,0 @@ -// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s - -enum e1 {e1_a = -1 }; -enum e1 g1(enum e1 *x) { - return *x; -} - -// CHECK: define i32 @g1 -// CHECK: load i32* %x, align 4 -// CHECK-NOT: range -// CHECK: ret |