diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-08-30 15:32:45 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-08-30 16:49:22 -0400 |
commit | 25597f7783e7038b8a2ee88bb49ac605b211b564 (patch) | |
tree | 57211b87c8c23c87c8e3b2c074dc53f132fcb231 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 342fea366f907e09eb12b12cfdeba7e9a056c2a3 (diff) | |
download | llvm-25597f7783e7038b8a2ee88bb49ac605b211b564.zip llvm-25597f7783e7038b8a2ee88bb49ac605b211b564.tar.gz llvm-25597f7783e7038b8a2ee88bb49ac605b211b564.tar.bz2 |
[IR][GVN] allow intrinsics in Instruction's isCommutative query
As discussed in D86798 / rG09652721 , we were potentially
returning a different result for whether an Instruction
is commutable depending on if we call the base class or
derived class method.
This requires relaxing an assert in GVN, but that pass
seems to be working otherwise.
NewGVN requires more work because it uses different
code paths for numbering binops and calls.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions