| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 32772
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all grammar conflicts from assembly parsing. This change involves:
1. Making the "type" keyword not a primitive type (removes several
reduce/reduce conflicts)
2. Being more specific about which linkage types are allowed for functions
and global variables. In particular "appending" can no longer be
specified for a function. A differentiation was made between the various
internal and external linkage types.
3. Introduced the "define" keyword which is now required when defining a
function. This disambiguates several cases where a named function return
type could get confused with the definition of a new type. Using the
keyword eliminates all shift/reduce conflicts and the remaining
reduce/reduce conflicts.
These changes are necessary to implement the function parameter attributes
that will be introduced soon. Adding the function parameter attributes in
the presence of the shift/reduce and reduce/reduce conflicts led to severe
ambiguities that caused the parser to report syntax errors that needed to
be resolved. This patch resolves them.
llvm-svn: 32770
|
| |
|
|
| |
llvm-svn: 32767
|
| |
|
|
| |
llvm-svn: 32763
|
| |
|
|
| |
llvm-svn: 32762
|
| |
|
|
|
|
| |
bug noticed by Lauro
llvm-svn: 32761
|
| |
|
|
|
|
| |
arm.
llvm-svn: 32760
|
| |
|
|
|
|
|
|
|
|
| |
1. Make the arguments const like the other ConstantFold* functions.
2. Clean up evaluateFCmpRelation so it makes sense for floating point.
3. Implement the use of evaluateFCmpRelation to fold floating point CEs
4. Shorten a variable name so more things fit on one line.
5. Fix various comments.
llvm-svn: 32759
|
| |
|
|
| |
llvm-svn: 32758
|
| |
|
|
|
|
|
|
| |
Fix this by ensuring that a bitcast is inserted to do sign switching. This
is only temporarily needed as the merging of signed and unsigned is next
on the SignlessTypes plate.
llvm-svn: 32757
|
| |
|
|
|
|
| |
correctly and emit "may be used uninitialized" warnings.
llvm-svn: 32756
|
| |
|
|
|
|
|
| |
Don't allow CmpInst instances to be processed in FoldSelectOpOp because
you can't easily swap their operands.
llvm-svn: 32753
|
| |
|
|
| |
llvm-svn: 32752
|
| |
|
|
|
|
|
|
| |
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
|
| |
|
|
| |
llvm-svn: 32750
|
| |
|
|
| |
llvm-svn: 32748
|
| |
|
|
|
|
| |
type for distinguish JIT & non-JIT instead of "dirty" hacks :)
llvm-svn: 32745
|
| |
|
|
| |
llvm-svn: 32744
|
| |
|
|
| |
llvm-svn: 32743
|
| |
|
|
| |
llvm-svn: 32741
|
| |
|
|
| |
llvm-svn: 32740
|
| |
|
|
| |
llvm-svn: 32735
|
| |
|
|
|
|
| |
doesn't matter as it is determined in the way the constant is used.
llvm-svn: 32733
|
| |
|
|
| |
llvm-svn: 32732
|
| |
|
|
| |
llvm-svn: 32731
|
| |
|
|
| |
llvm-svn: 32730
|
| |
|
|
| |
llvm-svn: 32729
|
| |
|
|
| |
llvm-svn: 32727
|
| |
|
|
|
|
|
|
|
| |
pass managers. Otherwise, stale available analysis info, from the managers not
yet run, may cause pass manager to take wrong turn.
This fixes CBE test failures reported by nightly tester.
llvm-svn: 32726
|
| |
|
|
| |
llvm-svn: 32724
|
| |
|
|
| |
llvm-svn: 32723
|
| |
|
|
| |
llvm-svn: 32722
|
| |
|
|
|
|
|
|
| |
1. Patches from Nick Lewycky.
2. Code to filter register names and print them as numeric values on
non-Darwin systems.
llvm-svn: 32721
|
| |
|
|
| |
llvm-svn: 32720
|
| |
|
|
|
|
| |
invoke-1.ll
llvm-svn: 32718
|
| |
|
|
|
|
|
| |
greater than MAX_INT64 for signed integers. This is now valid and is just
waiting for the distinction between signed and unsigned to go away.
llvm-svn: 32716
|
| |
|
|
|
|
|
|
| |
code to handle instructions as well, so that we properly fold things like
X & undef -> 0.
This fixes Transforms/SCCP/2006-12-19-UndefBug.ll
llvm-svn: 32715
|
| |
|
|
|
|
| |
for pointing it out!
llvm-svn: 32712
|
| |
|
|
|
|
|
| |
platform should be more or less workable. At least, sim is running fine
under lli :)
llvm-svn: 32711
|
| |
|
|
|
|
| |
static constructor for them :). Transition complete.
llvm-svn: 32710
|
| |
|
|
| |
llvm-svn: 32709
|
| |
|
|
| |
llvm-svn: 32703
|
| |
|
|
| |
llvm-svn: 32702
|
| |
|
|
| |
llvm-svn: 32700
|
| |
|
|
| |
llvm-svn: 32698
|
| |
|
|
| |
llvm-svn: 32697
|
| |
|
|
| |
llvm-svn: 32696
|
| |
|
|
| |
llvm-svn: 32695
|
| |
|
|
|
|
| |
delete some dead ones.
llvm-svn: 32694
|
| |
|
|
| |
llvm-svn: 32693
|