This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Add test for constant folding
ClosedPublic

Authored by axeldavy on Aug 11 2015, 11:56 AM.

Details

Summary

This test currently fails

Diff Detail

Event Timeline

axeldavy updated this revision to Diff 31845.Aug 11 2015, 11:56 AM
axeldavy retitled this revision from to AMDGPU/SI: Add test for constant folding.
axeldavy updated this object.
axeldavy added a reviewer: tstellarAMD.
axeldavy added a subscriber: llvm-commits.
arsenm added a subscriber: arsenm.Aug 11 2015, 12:13 PM

I think CHECK-NOT v_mov is overly general, and needs to check for a moved immediate. You also definitely don't want strict-whitspace

axeldavy updated this revision to Diff 32244.Aug 16 2015, 11:51 AM

Improved the pattern matching

arsenm accepted this revision.Aug 17 2015, 8:41 AM
arsenm added a reviewer: arsenm.

LGTM

This revision is now accepted and ready to land.Aug 17 2015, 8:41 AM
arsenm closed this revision.Aug 27 2015, 10:42 AM

r246167. I renamed the test file and changed the commit message a bit