projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1dfd2
)
- BugFix: get the mode from Cmp operand when calculating the negated pnc
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Nov 2008 15:59:10 +0000
(15:59 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Nov 2008 15:59:10 +0000
(15:59 +0000)
[r23575]
ir/ana/irconsconfirm.c
patch
|
blob
|
history
diff --git
a/ir/ana/irconsconfirm.c
b/ir/ana/irconsconfirm.c
index
de47534
..
8623e9a
100644
(file)
--- a/
ir/ana/irconsconfirm.c
+++ b/
ir/ana/irconsconfirm.c
@@
-397,6
+397,7
@@
static void insert_Confirm_in_block(ir_node *block, void *env) {
if (get_Proj_proj(proj) != pn_Cond_true) {
/* it's the false branch */
+ mode = get_irn_mode(get_Cmp_left(cmp));
pnc = get_negated_pnc(pnc, mode);
}
DB((dbg, LEVEL_2, "At %+F using %+F Confirm %=\n", block, cmp, pnc));