summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/subtarget-feature-change.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-04-30 17:52:57 +0000
committerManman Ren <mren@apple.com>2013-04-30 17:52:57 +0000
commit1a5ff287fd9c65c848409ce860eac8cfabd42eed (patch)
tree228c005b31c009eadd0009b1b11f0787d503291b /llvm/test/CodeGen/X86/subtarget-feature-change.ll
parente36d3416abbd1eeb3567834a4c2b05d727a979da (diff)
downloadbcm5719-llvm-1a5ff287fd9c65c848409ce860eac8cfabd42eed.tar.gz
bcm5719-llvm-1a5ff287fd9c65c848409ce860eac8cfabd42eed.zip
TBAA: remove !tbaa from testing cases if not used.
This will make it easier to turn on struct-path aware TBAA since the metadata format will change. llvm-svn: 180796
Diffstat (limited to 'llvm/test/CodeGen/X86/subtarget-feature-change.ll')
-rw-r--r--llvm/test/CodeGen/X86/subtarget-feature-change.ll16
1 files changed, 6 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/X86/subtarget-feature-change.ll b/llvm/test/CodeGen/X86/subtarget-feature-change.ll
index cd677294c66..04d4a719963 100644
--- a/llvm/test/CodeGen/X86/subtarget-feature-change.ll
+++ b/llvm/test/CodeGen/X86/subtarget-feature-change.ll
@@ -14,12 +14,12 @@ entry:
for.body:
%indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %entry ]
%arrayidx = getelementptr inbounds float* %b, i64 %indvars.iv
- %0 = load float* %arrayidx, align 4, !tbaa !0
+ %0 = load float* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds float* %c, i64 %indvars.iv
- %1 = load float* %arrayidx2, align 4, !tbaa !0
+ %1 = load float* %arrayidx2, align 4
%mul = fmul float %0, %1
%arrayidx4 = getelementptr inbounds float* %a, i64 %indvars.iv
- store float %mul, float* %arrayidx4, align 4, !tbaa !0
+ store float %mul, float* %arrayidx4, align 4
%indvars.iv.next = add i64 %indvars.iv, 1
%lftr.wideiv = trunc i64 %indvars.iv.next to i32
%exitcond = icmp eq i32 %lftr.wideiv, %n
@@ -43,12 +43,12 @@ entry:
for.body:
%indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %entry ]
%arrayidx = getelementptr inbounds float* %b, i64 %indvars.iv
- %0 = load float* %arrayidx, align 4, !tbaa !0
+ %0 = load float* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds float* %c, i64 %indvars.iv
- %1 = load float* %arrayidx2, align 4, !tbaa !0
+ %1 = load float* %arrayidx2, align 4
%mul = fmul float %0, %1
%arrayidx4 = getelementptr inbounds float* %a, i64 %indvars.iv
- store float %mul, float* %arrayidx4, align 4, !tbaa !0
+ store float %mul, float* %arrayidx4, align 4
%indvars.iv.next = add i64 %indvars.iv, 1
%lftr.wideiv = trunc i64 %indvars.iv.next to i32
%exitcond = icmp eq i32 %lftr.wideiv, %n
@@ -60,7 +60,3 @@ for.end:
attributes #0 = { nounwind optsize ssp uwtable "target-cpu"="core2" "target-features"="-sse4a,-avx2,-xop,-fma4,-bmi2,-3dnow,-3dnowa,-pclmul,-sse,-avx,-sse41,-ssse3,+mmx,-rtm,-sse42,-lzcnt,-f16c,-popcnt,-bmi,-aes,-fma,-rdrand,-sse2,-sse3" }
attributes #1 = { nounwind optsize ssp uwtable "target-cpu"="core2" "target-features"="-sse4a,-avx2,-xop,-fma4,-bmi2,-3dnow,-3dnowa,-pclmul,+sse,-avx,-sse41,+ssse3,+mmx,-rtm,-sse42,-lzcnt,-f16c,-popcnt,-bmi,-aes,-fma,-rdrand,+sse2,+sse3" }
-
-!0 = metadata !{metadata !"float", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}
OpenPOWER on IntegriCloud