| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
TRI->getRegClass() takes a register class ID, not a register. We were
using this incorrectly in a few places.
llvm-svn: 237132
|
|
|
|
| |
llvm-svn: 232998
|
|
|
|
|
|
|
| |
We were trying to fold into implicit uses, which led to out of bounds
access of the MCInstrDesc::OpInfo arrray.
llvm-svn: 229533
|
|
|
|
| |
llvm-svn: 229227
|
|
|
|
|
|
|
| |
This requires considering the size of the operand when
checking immediate legality.
llvm-svn: 229135
|
|
|
|
| |
llvm-svn: 227697
|
|
|
|
|
|
|
|
| |
The backend now assumes that all immediates are integers. This allows
us to simplify immediate handling code, becasue we no longer need to
handle fp and integer immediates differently.
llvm-svn: 225844
|
|
|
|
| |
llvm-svn: 225410
|
|
|
|
|
|
|
| |
Folding the same immediate into multiple instruction will increase
program size, which can hurt performance.
llvm-svn: 225405
|
|
|
|
|
|
|
| |
This is used to simplify the SIFoldOperands pass and make it easier to
fold immediates.
llvm-svn: 225373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows folding of sequences like:
s[0:1] = s_mov_b64 4
v_add_i32 v0, s0, v0
v_addc_u32 v1, s1, v1
into
v_add_i32 v0, 4, v0
v_add_i32 v1, 0, v1
llvm-svn: 225369
|
|
|
|
|
|
| |
This will make a future patch much less intrusive.
llvm-svn: 225358
|
|
This pass attempts to fold the source operands of mov and copy
instructions into their uses.
llvm-svn: 222581
|