- Nov 16, 2013
-
-
Juergen Ributzka authored
llvm-svn: 194936
-
Hal Finkel authored
InstCombine, in visitFPTrunc, applies the following optimization to sqrt calls: (fptrunc (sqrt (fpext x))) -> (sqrtf x) but does not apply the same optimization to llvm.sqrt. This is a problem because, to enable vectorization, Clang generates llvm.sqrt instead of sqrt in fast-math mode, and because this optimization is being applied to sqrt and not applied to llvm.sqrt, sometimes the fast-math code is slower. This change makes InstCombine apply this optimization to llvm.sqrt as well. This fixes the specific problem in PR17758, although the same underlying issue (optimizations applied to libcalls are not applied to intrinsics) exists for other optimizations in SimplifyLibCalls. llvm-svn: 194935
-
Matt Arsenault authored
llvm-svn: 194934
-
Matt Arsenault authored
llvm-svn: 194932
-
Benjamin Kramer authored
This was a source of bugs in the past. llvm-svn: 194929
-
Benjamin Kramer authored
Fix ScalarEvolution bugs uncovered by this. llvm-svn: 194928
-
Vincent Lejeune authored
llvm-svn: 194927
-
Duncan P. N. Exon Smith authored
Per Rafael's review of r194514. llvm-svn: 194926
-
Benjamin Kramer authored
This is common in bitfield code. llvm-svn: 194925
-
Duncan P. N. Exon Smith authored
llvm-svn: 194924
-
NAKAMURA Takumi authored
llvm-svn: 194918
-
Manman Ren authored
No functionality change. llvm-svn: 194917
-
Jim Grosbach authored
llvm-svn: 194906
-
Matt Arsenault authored
llvm-svn: 194904
-
Matt Arsenault authored
The tests just hit this with a different sized address space since I haven't figured out how to use this to break it. I thought I committed this a long time ago, and I'm not sure why missing this hasn't caused any problems. llvm-svn: 194903
-
David Blaikie authored
llvm-svn: 194902
-
David Blaikie authored
llvm-svn: 194901
-
Owen Anderson authored
Small improvement to InstrinsicEmitter::EmitAttributes. This change removes the “pushing” and “clearing” of the SmallVector and instead uses const arrays to pass the attributeKinds to AttributeSet::get . Patch by Aditya Nandakumar. llvm-svn: 194899
-
Eric Christopher authored
and update test cases accordingly. This doesn't affect the output dumped using llvm-dwarfdump, but readelf does now dump the debug_loc section. llvm-svn: 194898
-
David Blaikie authored
DwarfCompileUnit: Add type safety to CompileUnit::getNode by returning DICompileUnit instead of a raw MDNode*. llvm-svn: 194895
-
David Blaikie authored
DwarfCompileUnit: Add type safety by using DICompileUnit rather than raw MDNode* for the CU metadata node llvm-svn: 194893
-
David Blaikie authored
llvm-svn: 194892
-
Ana Pazos authored
Implemented aarch64 Neon scalar vfma_lane intrinsics Implemented aarch64 Neon scalar vfms_lane intrinsics Implemented legacy vmul_n_f64, vmul_lane_f64, vmul_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. Implemented legacy vfma_lane_f64, vfms_lane_f64, vfma_laneq_f64, vfms_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. llvm-svn: 194888
-
Adrian Prantl authored
llvm-svn: 194883
-
Lang Hames authored
llvm-svn: 194882
-
Lang Hames authored
until we know that folding will be successful. No functional change. llvm-svn: 194880
-
David Blaikie authored
llvm-svn: 194879
-
Arnold Schwaighofer authored
When we vectorize a scalar access with no alignment specified, we have to set the target's abi alignment of the scalar access on the vectorized access. Using the same alignment of zero would be wrong because most targets will have a bigger abi alignment for vector types. This probably fixes PR17878. llvm-svn: 194876
-
David Blaikie authored
llvm-svn: 194875
-
Juergen Ributzka authored
llvm-svn: 194874
-
- Nov 15, 2013
-
-
David Blaikie authored
This is the first of a few similar patches. We'll see how far it goes/makes sense. llvm-svn: 194871
-
Matt Arsenault authored
I somehow didn't notice before that the examples for addrspacecast use the wrong syntax for addrspace. llvm-svn: 194868
-
Juergen Ributzka authored
This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 194865
-
Matt Arsenault authored
The error reported the number of explicit operands, but that isn't what is checked. In my case, this resulted in the confusing errors "Too few operands." followed shortly by "8 operands expected, but 8 given." llvm-svn: 194862
-
Andrew Kaylor authored
Patch by Keno Fischer! llvm-svn: 194859
-
Matt Arsenault authored
llvm-svn: 194858
-
Chandler Carruth authored
AaronBallman. Thanks for the excellent review. llvm-svn: 194857
-
Chandler Carruth authored
pulling them under 80-columns. No functionality changed. llvm-svn: 194856
-
Chad Rosier authored
rather than the vector equivalent. llvm-svn: 194853
-
Rui Ueyama authored
Summary: Make identify_magic to recognize COFF import file. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2165 llvm-svn: 194852
-