Displaying 2 results from an estimated 2 matches for "isintimmleg".
Did you mean:
isintimmlegal
2013 Mar 06
1
[LLVMdev] TargetLowering::isIntImmLegal(...)
The thing I wanted for mips 16 for large literals does not seem to exist
right now.
They have MipsTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT)
but not the same thing for integer literals.
For Mips16, to materialize a 32 bit literal using instructions is
expensive, both in terms of the number of registers and the number of
instructions.
You always want to just do a load of
2017 Sep 05
4
Lowering llvm.memset for ARM target
As reported in an earlier thread
(http://clang-developers.42468.n3.nabble.com/Disable-memset-synthesis-tp4057810.html),
we noticed in some cases that the llvm.memset intrinsic, if lowered to
stores, could help with performance.
Here's a test case: If LIMIT is > 8, I see that a call to memset is
emitted for arm & aarch64, but not for x86 target.
typedef struct {
int v0[100];
}