forked from OSchip/llvm-project
[Refactor] Simplify memory access isWrite
llvm-svn: 211379
This commit is contained in:
parent
ae4c9e7bc3
commit
5ec80c2a85
|
@ -161,9 +161,7 @@ public:
|
|||
bool isMayWrite() const { return Type == MemoryAccess::MAY_WRITE; }
|
||||
|
||||
/// @brief Is this a write memory access?
|
||||
bool isWrite() const {
|
||||
return Type == MemoryAccess::MUST_WRITE || Type == MemoryAccess::MAY_WRITE;
|
||||
}
|
||||
bool isWrite() const { return isMustWrite() || isMayWrite(); }
|
||||
|
||||
isl_map *getAccessRelation() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue