diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2014-12-28 15:20:57 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2014-12-28 15:20:57 +0000 |
commit | fd22c6693bf9f7b0daf6f3e5b96c92e7db4efcc6 (patch) | |
tree | 8848fa8d21de71927046094da3cdb36e77116709 /llvm/test/CodeGen/X86/fast-isel-call-bool.ll | |
parent | 683c3cde435205f94cf611066be8097c0eb1f0b5 (diff) | |
download | bcm5719-llvm-fd22c6693bf9f7b0daf6f3e5b96c92e7db4efcc6.tar.gz bcm5719-llvm-fd22c6693bf9f7b0daf6f3e5b96c92e7db4efcc6.zip |
[X86][ISel] Fix a regression I introduced in r224884
The else case ResultReg was not checked for validity.
To my surprise, this case was not hit in any of the
existing test cases. This includes a new test cases
that tests this path.
Also drop the `target triple` declaration from the
original test as suggested by H.J. Lu, because
apparently with it the test won't be run on Linux
llvm-svn: 224901
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-call-bool.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-call-bool.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-call-bool.ll b/llvm/test/CodeGen/X86/fast-isel-call-bool.ll index 44db38c5ea9..876b02275c6 100644 --- a/llvm/test/CodeGen/X86/fast-isel-call-bool.ll +++ b/llvm/test/CodeGen/X86/fast-isel-call-bool.ll @@ -1,8 +1,7 @@ -; RUN: llc < %s -fast-isel -mcpu=core2 -O1 | FileCheck %s +; RUN: llc < %s -fast-isel -mcpu=core2 -march=x86-64 -O1 | FileCheck %s ; See PR21557 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-apple-darwin14.0.0" declare i64 @bar(i1) |