- Jan 19, 2010
-
-
Chris Lattner authored
GCC would put weak zero initialized mutable data in the .bss section, we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits' section. Fixing this will allow simplifications next up. llvm-svn: 93844
-
Chris Lattner authored
simplify and commonize some of the asmprinter logic for globals. This also avoids printing the MCSection for .zerofill, which broke the llvm-gcc build. llvm-svn: 93843
-
Chris Lattner authored
llvm-svn: 93842
-
Bill Wendling authored
llvm-svn: 93841
-
Chris Lattner authored
llvm-svn: 93839
-
Chris Lattner authored
1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. llvm-svn: 93838
-
Nate Begeman authored
llvm-svn: 93835
-
Chris Lattner authored
llvm-svn: 93833
-
Devang Patel authored
llvm-svn: 93832
-
Eric Christopher authored
llvm-svn: 93831
-
Evan Cheng authored
Fix r93758. Use isel patterns instead of c++ selection code to select rbit and make sure we pick different instructions for ARM vs. Thumb2. llvm-svn: 93829
-
Evan Cheng authored
llvm-svn: 93824
-
Dale Johannesen authored
llvm-svn: 93819
-
Dale Johannesen authored
llvm-svn: 93818
-
Dale Johannesen authored
comments (fast isel, X86). This doesn't seem to break any functionality, but will introduce cases where -g affects the generated code. I'll be fixing that. llvm-svn: 93811
-
- Jan 18, 2010
-
-
Victor Hernandez authored
Add comment that MDNode::getFunction() is not to be used by performance-critical code (currently only used by AsmWriter) llvm-svn: 93802
-
Eli Friedman authored
match. llvm-svn: 93798
-
Eli Friedman authored
llvm-svn: 93797
-
Bill Wendling authored
- Greatly improve the comments to the getLSDAEncoding method. llvm-svn: 93796
-
Chris Lattner authored
patch by Michael Beck! llvm-svn: 93793
-
Chris Lattner authored
aggressive changed the canonical form from sext(trunc(x)) to ashr(lshr(x)), make sure to transform a couple more things into that canonical form, and catch a case where we missed turning zext/shl/ashr into a single sext. llvm-svn: 93787
-
Sean Callanan authored
llvm-svn: 93784
-
Sean Callanan authored
to something more accurate. llvm-svn: 93782
-
Eric Christopher authored
llvm-svn: 93781
-
Sean Callanan authored
be used independently of SourceMgr. llvm-svn: 93780
-
Jim Grosbach authored
printing via <<. Otherwise we just print the pointer value. llvm-svn: 93777
-
Chris Lattner authored
llvm-svn: 93776
-
Chris Lattner authored
llvm-svn: 93775
-
Chris Lattner authored
llvm-svn: 93774
-
Evan Cheng authored
Instcombine does this but apparently there are situations where this pattern will escape the optimizer and / or created by isel. Here is a case that's seen in JavaScriptCore: %t1 = sub i32 0, %a %t2 = add i32 %t1, -1 The dag combiner pattern: ((c1-A)+c2) -> (c1+c2)-A will fold it to -1 - %a. llvm-svn: 93773
-
Chris Lattner authored
llvm-svn: 93771
-
Victor Hernandez authored
llvm-svn: 93764
-
Victor Hernandez authored
Simplify MDNode::getFunction() and assertLocalFunction() by avoiding extra Function* variable and smallptrset since function-local metadata cannot be cyclic llvm-svn: 93762
-
Johnny Chen authored
the various MOV (register) instructions (16-bit Thumb), including tBRIND (the indirect branch). Instead of '1', it should be specified as '?', because GPR only specifies the register class, which includes both hi-and-lo registers. llvm-svn: 93759
-
Jim Grosbach authored
"On ARMv6T2 this turns cttz into rbit, clz instead of the 4 instruction sequence it is now." llvm-svn: 93758
-
Devang Patel authored
because it points to an alloca instruction through metadata. llvm-svn: 93757
-
Chris Lattner authored
.ll parser, but PR6070 wants it in the verifier too. llvm-svn: 93756
-
Bill Wendling authored
llvm-svn: 93755
-
Bill Wendling authored
idea, but unfortunately necessary. - Default to using 4-bytes for the LSDA pointer encoding to agree with the encoded value in the CIE. llvm-svn: 93753
-
Victor Hernandez authored
Make printing of metadata more robust when function is not found (which is the normal situation for non function-local metadata) llvm-svn: 93748
-