HomePhabricator

[CodeGen] fix test to be (mostly) independent of LLVM optimizer; NFC

Authored by spatel on May 10 2020, 8:25 AM.

Description

[CodeGen] fix test to be (mostly) independent of LLVM optimizer; NFC

This test would break with the proposed change to IR canonicalization
in D79171.

The test tried to do the right thing by only using -mem2reg with opt,
but it was using -O3 before that step, so the opt part was meaningless.

Details

Committed
spatelMay 10 2020, 8:25 AM
Parents
rGbcc5ed7b24e9: [CodeGen] fix test to be (mostly) independent of LLVM optimizer; NFC
Branches
Unknown
Tags
Unknown