commit | 6dd44d3b7f33c9984dfb40461630d50c4fed1234 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Nov 15 05:45:08 2013 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Nov 15 05:45:08 2013 +0000 |
tree | 377a4c3e7bbe4284ee88a19a035313cfc7ba3b5b | |
parent | 01ad8c308fe549afadb9da18ac0dd30c848c4e1e [diff] [blame] |
Add instcombine visitor for addrspacecast git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194786 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineCasts.cpp b/lib/Transforms/InstCombine/InstCombineCasts.cpp index 01894cb..a1aedd4 100644 --- a/lib/Transforms/InstCombine/InstCombineCasts.cpp +++ b/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -1851,3 +1851,7 @@ return commonPointerCastTransforms(CI); return commonCastTransforms(CI); } + +Instruction *InstCombiner::visitAddrSpaceCast(AddrSpaceCastInst &CI) { + return commonCastTransforms(CI); +}