We meet an ERROR about arithmetic fence in building some libs in m32 target.
The reason is Legalize not consider "transfer/convert" illegal type fp128 (in m32) for arithmetic.fence.
Now fix it.
clang -cc1 -triple i386-pc-linux-gnu -mreassociate t.c -emit-llvm -o t.ll; llc t.l
clang -cc1 -triple i386-pc-linux-gnu -mreassociate -S -o t.s -x c t.c
typedef __float128 TYPE;
TYPE foo(TYPE *qr) {
TYPE re =__arithmetic_fence(*qr);
return re;
}
Can we do the same think as SoftenFloatRes_FREEZE?