Commit c1de6c0b authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Only regard be_Perm as Perm in the copyopt. There are no customs Perms and I...

Only regard be_Perm as Perm in the copyopt.  There are no customs Perms and I doubt anything could handle them.

[r22795]
parent 89643a6a
......@@ -67,8 +67,7 @@ struct _copy_opt_t {
#define is_Reg_Phi(irn) (is_Phi(irn) && mode_is_data(get_irn_mode(irn)))
#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
#define is_Perm(irn) (arch_irn_classify(irn) == arch_irn_class_perm)
#define is_Perm_Proj(irn) (is_Proj(irn) && is_Perm(get_Proj_pred(irn)))
#define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))
static INLINE int is_2addr_code(const arch_register_req_t *req)
{
......
......@@ -37,6 +37,7 @@
#include "irnodeset.h"
#include "bechordal_t.h"
#include "benode_t.h"
#include "beutil.h"
#include "becopyopt_t.h"
#include "becopystat.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment