projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir_mode: simplify interface, improve float-mode handling
[libfirm]
/
ir
/
opt
/
scalar_replace.c
diff --git
a/ir/opt/scalar_replace.c
b/ir/opt/scalar_replace.c
index
6d16437
..
85779e1
100644
(file)
--- a/
ir/opt/scalar_replace.c
+++ b/
ir/opt/scalar_replace.c
@@
-43,7
+43,7
@@
#include "irgmod.h"
#include "irnode_t.h"
#include "irpass.h"
#include "irgmod.h"
#include "irnode_t.h"
#include "irpass.h"
-#include "
irtools
.h"
+#include "
util
.h"
#include "xmalloc.h"
#include "debug.h"
#include "error.h"
#include "xmalloc.h"
#include "debug.h"
#include "error.h"
@@
-174,7
+174,6
@@
static bool check_load_store_mode(ir_mode *mode, ir_mode *ent_mode)
if (ent_mode != mode) {
if (ent_mode == NULL ||
get_mode_size_bits(ent_mode) != get_mode_size_bits(mode) ||
if (ent_mode != mode) {
if (ent_mode == NULL ||
get_mode_size_bits(ent_mode) != get_mode_size_bits(mode) ||
- get_mode_sort(ent_mode) != get_mode_sort(mode) ||
get_mode_arithmetic(ent_mode) != irma_twos_complement ||
get_mode_arithmetic(mode) != irma_twos_complement)
return false;
get_mode_arithmetic(ent_mode) != irma_twos_complement ||
get_mode_arithmetic(mode) != irma_twos_complement)
return false;