commit | 70e5e6834cb5065186f82c3a459681f3f22cd1e0 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Mon Nov 09 22:28:21 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Mon Nov 09 22:28:21 2009 +0000 |
tree | 966788fb712723f1a81844af486bc491c6688b33 | |
parent | 2718e43d6ae4f1c15823069566f18f7339cc976e [diff] [blame] |
Fix for 64-bit builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86600 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 5382204..ee8bf79 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -4287,7 +4287,7 @@ EVT Ty = Arg.getValueType(); if (CI->getZExtValue() < 2) - setValue(&I, DAG.getConstant(-1U, Ty)); + setValue(&I, DAG.getConstant(-1ULL, Ty)); else setValue(&I, DAG.getConstant(0, Ty)); return 0;