[llvm] r315283 - SILoadStoreOptimizer.cpp: Fix build; Clang doesn't like "using anonymous struct" since rL315256.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 01:30:53 PDT 2017
Author: chapuni
Date: Tue Oct 10 01:30:53 2017
New Revision: 315283
URL: http://llvm.org/viewvc/llvm-project?rev=315283&view=rev
Log:
SILoadStoreOptimizer.cpp: Fix build; Clang doesn't like "using anonymous struct" since rL315256.
Modified:
llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp?rev=315283&r1=315282&r2=315283&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp Tue Oct 10 01:30:53 2017
@@ -69,7 +69,7 @@ using namespace llvm;
namespace {
class SILoadStoreOptimizer : public MachineFunctionPass {
- using CombineInfo = struct {
+ struct CombineInfo {
MachineBasicBlock::iterator I;
MachineBasicBlock::iterator Paired;
unsigned EltSize;
More information about the llvm-commits
mailing list