diff options
| author | Adam Nemet <anemet@apple.com> | 2014-05-29 23:35:33 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2014-05-29 23:35:33 +0000 |
| commit | 39066800e9eb8fdad2e52592b344a0498e288353 (patch) | |
| tree | dc59b5b2e0d5ef8da4750f9bc839b8c10be604b4 /llvm/lib/CodeGen/GCStrategy.cpp | |
| parent | 1316a0e0e0bbf1f34d4a7ff7d57056b671673071 (diff) | |
| download | bcm5719-llvm-39066800e9eb8fdad2e52592b344a0498e288353.tar.gz bcm5719-llvm-39066800e9eb8fdad2e52592b344a0498e288353.zip | |
[X86] Auto-upgrade AVX1 vbroadcast intrinsics
They are replaced with the same IR that is generated for the
vector-initializers in avxintrin.h.
The test verifies that we get back the original instruction. I haven't seen
this approach to be used in other auto-upgrade tests (i.e. llc + FileCheck)
but I think it's the most direct way to test this case. I believe this should
work because llc upgrades calls during parsing. (Other tests mostly check
that assembling and disassembling yields the upgraded IR.)
llvm-svn: 209863
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
0 files changed, 0 insertions, 0 deletions

