- Jul 23, 2013
-
-
Craig Topper authored
It only didn't use it before because it seems InstAlias handling in the asm printer fails to count tied operands so it tried to find an xor with 2 operands instead of the 3 it wfails to count tied. llvm-svn: 186900
-
Craig Topper authored
Suppress argumentless aliases for some x86 FP operations from being used by the asm writer. Prefer to use the explicit %st(1) form. llvm-svn: 186897
-
Matt Arsenault authored
llvm-svn: 186896
-
Nick Lewycky authored
llvm-svn: 186893
-
Jakub Staszak authored
llvm-svn: 186892
-
Jakub Staszak authored
llvm-svn: 186890
-
Eli Bendersky authored
llvm-svn: 186887
-
Eric Christopher authored
llvm-svn: 186886
-
Eric Christopher authored
llvm-svn: 186885
-
Nadav Rotem authored
When we vectorize across multiple basic blocks we may vectorize PHINodes that create a cycle. We already break the cycle on phi-nodes, but arithmetic operations are still uplicated. This patch adds code that checks if the operation that we are vectorizing was vectorized during the visit of the operands and uses this value if it can. llvm-svn: 186883
-
Jakub Staszak authored
llvm-svn: 186880
-
- Jul 22, 2013
-
-
Richard Trieu authored
llvm-svn: 186879
-
Kevin Enderby authored
absolute address encoded in the instruction. rdar://8612627 and rdar://14299221 llvm-svn: 186878
-
Jakub Staszak authored
llvm-svn: 186877
-
Jakub Staszak authored
llvm-svn: 186876
-
Michael Gottesman authored
[stackprotector] Changed isNoopBitcast/sameNoopInput to take TargetLoweringBase instead of TargetLowering. Both functions only use functionality from TargetLoweringBase. rdar://13935163 llvm-svn: 186874
-
Craig Topper authored
Recommit r186813: More Intel syntax alias fixes. With the addition of suppressing some of the aliases from being emitted by the asm printer. llvm-svn: 186869
-
Michael Gottesman authored
No functionality change. rdar://13935163 llvm-svn: 186868
-
Manman Ren authored
Instead of just adding the scope to the list, we actually handle the scope. llvm-svn: 186867
-
Bill Wendling authored
Use the function attributes to pass along the stack protector buffer size. Now that we have robust function attributes, don't use a command line option to specify the stack protecto buffer size. llvm-svn: 186863
-
Akira Hatanaka authored
Enable parsing all 32 floating point control registers $0-31 and stop trying to parse floating point condition code register $fcc0. Also, return ParseFail if the operand being parsed is not in the expected format. llvm-svn: 186861
-
Rafael Espindola authored
llvm-svn: 186860
-
Matt Arsenault authored
llvm-svn: 186858
-
Matt Arsenault authored
llvm-svn: 186857
-
Akira Hatanaka authored
the InstAlias pattern which maps "move" to OR to resolve ambiguity in MatchTable. llvm-svn: 186855
-
Andrew Kaylor authored
llvm-svn: 186854
-
Shuxin Yang authored
There already have two "dead" functions, initialize{IPO|IPA}, defined for similar purpose. I decide not to call these two functions for two reasons: o. they don't cover all LTO passes (which will soon be separated into IPO and post-IPO passes) o. We have not yet figured out the right passes and the ordering for IPO and post-IPO stages, meaning this change is only for the time being. Since LTO passes are registered, we are now able to print IR before and after particular point. For OSX users: -------------- "...-Wl,-mllvm -Wl,-print-after=<pass-name>" will print IR after the specified pass. For Other UNIX with GNU gold linker: ------------------------------------ "-Wl,-plugin-opt=-print-after=<pass-name>" should work. (NOTE: no need for "-Wl,-mllvm") Strip "-Wl," if flags are fed directly to linker instead of clang/clang++. llvm-svn: 186853
-
Eric Christopher authored
llvm-svn: 186852
-
Eric Christopher authored
llvm-svn: 186851
-
Jim Grosbach authored
Variadic MC instructions don't note whether the variable operands are uses or defs, so mayAffectControlFlow() must conservatively assume they are defs and return true if the PC is in the operand list. rdar://14488628 llvm-svn: 186846
-
Nadav Rotem authored
Fix an obvious typo in the loop vectorizer where the cost model uses the wrong variable. The variable BlockCost is ignored. We don't have tests for the effect of if-conversion loops because it requires a big test (that includes if-converted loops) and it is difficult to find and balance a loop to do the right thing. llvm-svn: 186845
-
Justin Holewinski authored
llvm-svn: 186844
-
Hans Wennborg authored
Option aliases in option groups were previously disallowed by an assert. As far as I can tell, there was no technical reason for this, and I would like to be able to put cl.exe compatible options in their own group for Clang, so let's change the assert. llvm-svn: 186838
-
Mihai Popa authored
instructions. With this patch: 1. ldr.n is recognized as mnemonic for the short encoding 2. ldr.w is recognized as menmonic for the long encoding 3. ldr will map to either short or long encodings depending on the size of the offset llvm-svn: 186831
-
Rafael Espindola authored
This matches gnu archive behavior and since archive member order can change which member is used, not changing the order on replacement looks like the right thing to do. This patch also refactors the logic for which archive member to keep and whether to move it to a helper function (computeInsertAction). The nesting in computeNewArchiveMembers was getting a bit confusing. llvm-svn: 186829
-
Rafael Espindola authored
GNU ar when not given the a or b modifiers replaces archive members in the same location of the old ones. I am about to implement that in llvm-ar. For now, just don't depend on the current llvm-ar behavior on this test. llvm-svn: 186823
-
Justin Holewinski authored
.ftz to instructions if the nvptx-f32ftz attribute is set to "true" llvm-svn: 186820
-
Tim Northover authored
This reverts commit r186813, which broke the bots. llvm-svn: 186818
-
Craig Topper authored
llvm-svn: 186815
-
Craig Topper authored
llvm-svn: 186814
-