diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-03-15 19:51:19 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-03-15 19:51:19 +0000 |
commit | f23e3a2d382254c338e4bfb2337ce4ad1e45e27e (patch) | |
tree | 5d9a119e00406606d988b29aaed2dda75bd99131 /lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | 36a13cdeeade48e80bdfe8e9d9962ba0c5e33b5a (diff) |
sure, I can set a flag, but if I never check it, why bother setting it? Should fix 20 programs :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index 99bb9b9963..0e0e0ac314 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -1291,8 +1291,8 @@ unsigned ISel::SelectExpr(SDOperand N) { BuildMI(BB, Opc, 2, Tmp3).addReg(Tmp1).addReg(Tmp2); //now arrange for Result (int) to have a 1 or 0 - - BuildMI(BB, Alpha::CC2INT, 1, Result).addReg(Tmp3); + Opc = inv?Alpha::CC2INT_INV:Alpha::CC2INT; + BuildMI(BB, Opc, 1, Result).addReg(Tmp3); // // Spill the FP to memory and reload it from there. // unsigned Size = MVT::getSizeInBits(MVT::f64)/8; |