- May 04, 2010
-
-
Evan Cheng authored
llvm-svn: 103013
-
Daniel Dunbar authored
- The idea is that when a match fails, we just try to match each of +'b', +'w', +'l'. If exactly one matches, we assume this is a mnemonic prefix and accept it. If all match, we assume it is width generic, and take the 'l' form. - This would be a horrible hack, if it weren't so simple. Therefore it is an elegant solution! Chris gets the credit for this particular elegant solution. :) - Next step to making this more robust is to have the X86 matcher generate the mnemonic prefix information. Ideally we would also compute up-front exactly which mnemonic to attempt to match, but this may require more custom code in the matcher than is really worth it. llvm-svn: 103012
-
Duncan Sands authored
buildbot: the debugging and non-debugging versions of getFunction were not functionally equivalent: the non-debugging version wrongly assumed that if a metadata operand was not metadata, then it had a non-null containing function. This is not true, since the operand might be a global value, constant etc. llvm-svn: 103008
-
Duncan Sands authored
RAUW of a global variable with a local variable in function F, if function local metadata M in function G was using the global then M would become function-local to both F and G, which is not allowed. See the testcase for an example. Fixed by detecting this situation and zapping the metadata operand when it occurs. llvm-svn: 103007
-
Gabor Greif authored
llvm-svn: 103003
-
Devang Patel authored
llvm-svn: 103001
-
Dan Gohman authored
of doing the same thing manually. llvm-svn: 102997
-
Dan Gohman authored
llvm-svn: 102996
-
Devang Patel authored
Do not ignore debug loc attached with llvm.dbg.declare while collecting debug info used by a module. llvm-svn: 102995
-
Evan Cheng authored
Instruction selection optimizations may have moved the def of a function argument out of the entry block. rdar://7937489 llvm-svn: 102993
-
Kevin Enderby authored
changed to 0x7E from 0x6E as well as the previous change of RPDI to S3SI. llvm-svn: 102991
-
Daniel Dunbar authored
match failure. Also, fixes a few memory leak FIXMEs. llvm-svn: 102986
-
Evan Cheng authored
llvm-svn: 102984
-
Dan Gohman authored
llvm-svn: 102981
-
rdar://7937137Jim Grosbach authored
eliminateFrameIndex(), leading to llvm_unreachable() assertion failure. llvm-svn: 102980
-
Jakob Stoklund Olesen authored
This should make it possible to start producing kill flags in isel without breaking stuff. llvm-svn: 102976
-
Dan Gohman authored
in registers into a separate function to de-couple it from the top-down-specific logic in getRegForValue. llvm-svn: 102975
-
Dale Johannesen authored
on PPC for x!=0. 7624113. llvm-svn: 102972
-
Dan Gohman authored
to fadd, fsub, and fmul, when used with a floating-point type. LLVM has supported the new instructions since 2.6, so it's time to get on board. llvm-svn: 102971
-
Jakob Stoklund Olesen authored
This fixes PR6941. llvm-svn: 102970
-
Eric Christopher authored
llvm-svn: 102966
-
Dan Gohman authored
same, now that getConstant has overloads consistent with ConstantInt::get. llvm-svn: 102965
-
- May 03, 2010
-
-
Bob Wilson authored
debug output is showing machine instructions, the IR-level basic block names aren't very meaningful, and because multiple machine basic blocks may be derived from one IR-level BB, they're also not unique. llvm-svn: 102960
-
Nick Lewycky authored
llvm-svn: 102959
-
Kevin Enderby authored
instructions as the Mac OS X darwin assembler. Some of which like 'fcoml' assembled to different opcodes. While some of the suffixes were just different. llvm-svn: 102958
-
Kevin Enderby authored
mm to mm/m64 and the Move quadword from xmm2/mem64 to xmm1 had the incorrect encodings. llvm-svn: 102952
-
Kevin Enderby authored
caused the a pushl instruction to be incorrectly encoding using only two bytes of immediate, causing the following 2 instruction bytes to be part of the 32-bit immediate value. Also fixed the one byte form of push to be used when the immediate would fit in a signed extended byte. Lastly changed the names to not include the 32 of PUSH32 since they actually push the size of the stack pointer. llvm-svn: 102951
-
Dan Gohman authored
Also, pass true for isSigned even when creating constants for unsigned comparisons, because the point is to create an all-ones constant, rather than UINT64_MAX, even for integers wider than 64 bits. llvm-svn: 102946
-
Eric Christopher authored
llvm-svn: 102941
-
Devang Patel authored
Patch by Jakub Staszak! llvm-svn: 102928
-
Dan Gohman authored
SimplifyICmpOperands will simplify such cases to EQ or NE. This makes the correcntess of the code independent on SimplifyICmpOperands doing certain simplifications. llvm-svn: 102927
-
Dan Gohman authored
comparison instructions, since they aren't interesting, despite having integer result types. llvm-svn: 102925
-
Dan Gohman authored
case where both are addrecs in unrelated loops. llvm-svn: 102924
-
Dan Gohman authored
llvm-svn: 102922
-
Dan Gohman authored
beneficial cases. See the changes in test/CodeGen/X86/tail-opts.ll and test/CodeGen/ARM/ifcvt2.ll for details. The fix is to change HashEndOfMBB to hash at most one instruction, instead of trying to apply heuristics about when it will be profitable to consider more than one instruction. The regular tail-merging heuristics are already prepared to handle the same cases, and they're more precise. Also, make test/CodeGen/ARM/ifcvt5.ll and test/CodeGen/Thumb2/thumb2-branch.ll slightly more complex so that they continue to test what they're intended to test. And, this eliminates the problem in test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll, the testcase from PR5204. Update it accordingly. llvm-svn: 102907
-
Dan Gohman authored
llvm-svn: 102906
-
- May 02, 2010
-
-
Duncan Sands authored
Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865
-
- May 01, 2010
-
-
Chris Lattner authored
llvm-svn: 102852
-
Chris Lattner authored
other places, killing a valid transformation is not the right answer. llvm-svn: 102850
-
Dale Johannesen authored
preventing the emission of the NOP on Darwin for a function with no actual code. From timberwolfmc with TEST=optllcdbg. llvm-svn: 102843
-